From f9edc2c96ab99b86aa80b8d30241527305015e3e Mon Sep 17 00:00:00 2001 From: BodgeMaster <> Date: Thu, 5 Mar 2020 03:07:56 +0100 Subject: [PATCH] added filter for empty lines --- strassenkind.php | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) 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
$command\n
$output\n