From 2c4e3ca7e2986bbb8d15f5786919f15016836a31 Mon Sep 17 00:00:00 2001 From: necro-nemesis Date: Wed, 20 Mar 2019 01:20:19 -0400 Subject: [PATCH] return --- includes/functions.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/includes/functions.php b/includes/functions.php index 8961839..96a57c8 100755 --- a/includes/functions.php +++ b/includes/functions.php @@ -599,8 +599,8 @@ function SaveTORAndVPNConfig(){ } } elseif( isset($_POST['StartLokinet']) ) { echo "Attempting to start Lokinet"; - exec( 'sudo /home/pi/loki-network/lokinet > /dev/null &' ); - header("Refresh:0"); + exec( 'sudo /home/pi/loki-network/lokinet > /dev/null &', $return ); +// header("Refresh:0"); } elseif( isset($_POST['StopLokinet']) ) { echo "Attempting to stop Lokinet"; exec( 'sudo systemctl stop lokinet > /dev/null $' );