From 875a13f3f6104163dd260c53613d46922cd11a67 Mon Sep 17 00:00:00 2001 From: necro-nemesis Date: Wed, 20 Mar 2019 15:17:50 -0400 Subject: [PATCH] correction --- includes/functions.php | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/includes/functions.php b/includes/functions.php index c15b50e..432c853 100755 --- a/includes/functions.php +++ b/includes/functions.php @@ -380,7 +380,7 @@ function DisplayLokinetConfig(){ if( $lokinetstatus[0] == 0 ) { echo '' , PHP_EOL; } else { - echo '' , PHP_EOL; + echo '' , PHP_EOL; }; $filename = '/home/pi/.lokinet/lokinet.ini'; if (!file_exists($filename)) { @@ -600,8 +600,7 @@ function SaveTORAndVPNConfig(){ } elseif( isset($_POST['StartLokinet']) ) { echo "Attempting to start Lokinet"; exec( 'sudo /home/pi/loki-network/lokicontrol.sh > /dev/null &', $return ); - - if( isset($_POST['StopLokinet']) ) { + } elseif( isset($_POST['StopLokinet']) ) { echo "Attempting to stop Lokinet"; exec( 'sudo /home/pi/loki-network/lokishutdown.sh > /dev/null &', $return ); } elseif( isset($_POST['GenerateLokinet']) ) {