From e398089922dfc5010ec969bff0be37784cde4daf Mon Sep 17 00:00:00 2001 From: Jos Schellevis Date: Mon, 29 Dec 2014 15:20:03 +0000 Subject: [PATCH] Redirect standard in out on firmware update --- src/www/system_firmware_check.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/www/system_firmware_check.php b/src/www/system_firmware_check.php index 07577b53c..c1fc1deae 100644 --- a/src/www/system_firmware_check.php +++ b/src/www/system_firmware_check.php @@ -52,7 +52,7 @@ if($_POST['action'] == 'pkg_upgrade') { $shell_output = array(); $shell = new OPsense\Core\Shell(); // execute shell command and collect (only valid) info into named array - $shell->exec("/usr/local/opnsense/scripts/pkg_upgrade.sh&",false,false,$shell_output); + $shell->exec("/usr/local/opnsense/scripts/pkg_upgrade.sh > /dev/null 2 > /dev/null < /dev/null &",false,false,$shell_output); } if($_POST['action'] == 'update_status' ) {