From 6a4ffb69d35b5c72ff6d7a8839f3862545d59be5 Mon Sep 17 00:00:00 2001 From: necro-nemesis Date: Sun, 31 Mar 2019 23:30:51 -0400 Subject: [PATCH] add return --- includes/functions.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/includes/functions.php b/includes/functions.php index a87dab2..68130bc 100755 --- a/includes/functions.php +++ b/includes/functions.php @@ -636,8 +636,8 @@ function SaveTORAndVPNConfig(){ $bootstrap=str_replace("'", "", $bootstrap); $bootstrap=htmlspecialchars($bootstrap); //$bootstrap = escapeshellarg($bootstrap); - echo 'sudo /home/pi/loki-network/./lokilaunch.sh bootstrap '.$bootstrap.''; - $output = shell_exec('sudo /home/pi/./loki-network/lokilaunch.sh bootstrap '.$bootstrap.''); + echo 'sudo /home/pi/loki-network/./lokilaunch.sh bootstrap '.$bootstrap.'\r'; + $output = shell_exec('sudo /home/pi/./loki-network/lokilaunch.sh bootstrap '.$bootstrap.'\r'); echo "
$output
"; }