diff --git a/includes/functions.php b/includes/functions.php index c3789bd..477fdbb 100755 --- a/includes/functions.php +++ b/includes/functions.php @@ -637,7 +637,7 @@ function SaveTORAndVPNConfig(){ $bootstrap=htmlspecialchars($bootstrap); //$bootstrap = escapeshellarg($bootstrap); echo "sudo /home/pi/loki-network/./lokilaunch.sh bootstrap $bootstrap"; - $output = exec("sudo /home/pi/./loki-network/lokilaunch.sh bootstrap $bootstrap"); + $output = shell_exec("sudo /home/pi/./loki-network/lokilaunch.sh bootstrap $bootstrap, $return"); echo "
$output
"; }