diff --git a/vendor/phangoapp/leviathanutils/src/Linux.php b/vendor/phangoapp/leviathanutils/src/Linux.php index 6a7e3fb..ff5c378 100644 --- a/vendor/phangoapp/leviathanutils/src/Linux.php +++ b/vendor/phangoapp/leviathanutils/src/Linux.php @@ -11,7 +11,7 @@ class Linux { for($x=1;$x0) { - - echo 'Error executing command '.$cmd."\n"; - - if($exit_if_error) { - - exit($result); - - } - else { - - return $result; - - } - - }*/ } @@ -282,7 +252,7 @@ class Linux { } - Linux::shell_command(["sudo sed -i", "s/".$arr_sed[$distro][0]."/".$arr_sed[$distro][1]."/g", $arr_sed[$distro][2]]); + Linux::shell_command(["sudo sed -i", "s/".$arr_sed[$distro][0]."/".$arr_sed[$distro][1]."/g ".$arr_sed[$distro][2]]); }