From 11dc746eca454c0804c22b7c36421e9c0eca1874 Mon Sep 17 00:00:00 2001 From: "manuel.montes" Date: Wed, 20 Jun 2018 13:31:23 +0200 Subject: [PATCH] Fixed bug in ajax/events.php --- pandora_console/include/ajax/events.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pandora_console/include/ajax/events.php b/pandora_console/include/ajax/events.php index d431a83dd7..7a367e8da0 100644 --- a/pandora_console/include/ajax/events.php +++ b/pandora_console/include/ajax/events.php @@ -148,7 +148,7 @@ if ($perform_event_response) { 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 { @@ -163,7 +163,7 @@ if ($perform_event_response) { $timeout_bin = '/usr/bin/timeout'; break; } - echo system($timeout_bin . ' 90 '.io_safe_output($command).' 2>&1'); + system($timeout_bin . ' 90 '.io_safe_output($command).' 2>&1'); } } else { @@ -178,7 +178,7 @@ if ($perform_event_response) { $timeout_bin = '/usr/bin/timeout'; break; } - echo system($timeout_bin . ' 90 '.io_safe_output($command).' 2>&1'); + system($timeout_bin . ' 90 '.io_safe_output($command).' 2>&1'); } return;