diff --git a/strassenkind.php b/strassenkind.php index 4ae80e6..626dec6 100644 --- a/strassenkind.php +++ b/strassenkind.php @@ -45,8 +45,10 @@ echo "Done."; } else { //run status command list otherwise foreach ($status_commands as $command) { - $output = shell_exec($command); - echo "
 $command 
\n
 $output 
\n
"; + if ($command != ""){ + $output = shell_exec($command); + echo "
 $command 
\n
 $output 
\n
"; + } } } ?>