From 3ca80f14947546d371743f9c93a24220eed45b65 Mon Sep 17 00:00:00 2001 From: glen Date: Fri, 13 Nov 2020 17:24:13 -0500 Subject: [PATCH] add space between exit and token arguments passed to bash. --- includes/functions.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/includes/functions.php b/includes/functions.php index a4417f3..edeb0ee 100755 --- a/includes/functions.php +++ b/includes/functions.php @@ -352,7 +352,7 @@ function ActivateLokinetConfig() $token = $_POST['exitkey']; $exit=str_replace("'", "", $exit); $token=str_replace("'", "", $token); - $output = shell_exec("sudo /var/lib/lokinet/lokilaunch.sh exitup '".$exit."''" .$token."'"); + $output = shell_exec("sudo /var/lib/lokinet/lokilaunch.sh exitup '".$exit."' '" .$token."'"); echo "
$output
"; ?>
' , PHP_EOL;