mirror of
https://github.com/pandorafms/pandorafms.git
synced 2025-07-29 08:45:12 +02:00
Fixed bug in ajax/events.php
This commit is contained in:
parent
cf38c82653
commit
11dc746eca
@ -148,7 +148,7 @@ if ($perform_event_response) {
|
|||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|
||||||
echo system("ssh pandora_exec_proxy@" . $server_data['ip_address'] . " \"" . $timeout_bin . " 90 " . io_safe_output($command) . " 2>&1\"", $ret_val);
|
system("ssh pandora_exec_proxy@" . $server_data['ip_address'] . " \"" . $timeout_bin . " 90 " . io_safe_output($command) . " 2>&1\"", $ret_val);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
@ -163,7 +163,7 @@ if ($perform_event_response) {
|
|||||||
$timeout_bin = '/usr/bin/timeout';
|
$timeout_bin = '/usr/bin/timeout';
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
echo system($timeout_bin . ' 90 '.io_safe_output($command).' 2>&1');
|
system($timeout_bin . ' 90 '.io_safe_output($command).' 2>&1');
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
@ -178,7 +178,7 @@ if ($perform_event_response) {
|
|||||||
$timeout_bin = '/usr/bin/timeout';
|
$timeout_bin = '/usr/bin/timeout';
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
echo system($timeout_bin . ' 90 '.io_safe_output($command).' 2>&1');
|
system($timeout_bin . ' 90 '.io_safe_output($command).' 2>&1');
|
||||||
}
|
}
|
||||||
|
|
||||||
return;
|
return;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user