diff --git a/scripts/service_controls.php b/scripts/service_controls.php index 348c957..b259fbd 100644 --- a/scripts/service_controls.php +++ b/scripts/service_controls.php @@ -88,8 +88,8 @@ error_reporting(E_ALL); if(isset($_POST['submit'])){ $command = $_POST['submit']; -echo "

Executed $command

"; -shell_exec("$command"); +$results = shell_exec("$command"); +echo "$results"; } ?>