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 $' );