mirror of
https://github.com/pfsense/pfsense.git
synced 2025-10-26 11:38:35 +00:00
Suppress errors from touch when marking GW down. Fixes #9851
(cherry picked from commit 83794361b7)
This commit is contained in:
parent
f6323615ea
commit
88677f876e
@ -1230,7 +1230,7 @@ function get_gwgroup_members_inner($group, $gateways_status, $gateways_arr, $vip
|
||||
$pluginparams['name'] = $gwname;
|
||||
if ($gwdown == true) {
|
||||
if (!file_exists("/tmp/.down.{$gwname}")) {
|
||||
touch("/tmp/.down.{$gwname}");
|
||||
@touch("/tmp/.down.{$gwname}");
|
||||
$msg .= "\n".implode("|", $status);
|
||||
$pluginparams['event'] = 'gateway.down';
|
||||
$statuschanged = true;
|
||||
|
||||
Loading…
Reference in New Issue
Block a user