From 829a00f82d33c47200eac8aa1abaed43826c39a1 Mon Sep 17 00:00:00 2001 From: "Hahn Axel (hahn)" <axel.hahn@unibe.ch> Date: Fri, 14 Mar 2025 16:30:35 +0100 Subject: [PATCH] add new line --- .gitignore | 1 + src/amcli.php | 4 ++-- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/.gitignore b/.gitignore index c68933a..6d54f18 100644 --- a/.gitignore +++ b/.gitignore @@ -3,3 +3,4 @@ external/ build src/include_checks.php src/amcli__build.php +build_postactions.php diff --git a/src/amcli.php b/src/amcli.php index c721f19..25df003 100755 --- a/src/amcli.php +++ b/src/amcli.php @@ -238,7 +238,7 @@ if (isset($ARGS['-h']) || isset($ARGS['--help'])) { // show builtin checks if (isset($ARGS['-l']) || isset($ARGS['--list'])) { _wd("Showing checks"); - echo $sPreSpace . implode("\n$sPreSpace", $oMonitor->listChecks()); + echo $sPreSpace . implode("\n$sPreSpace", $oMonitor->listChecks())."\n"; exit(0); } @@ -247,7 +247,7 @@ if (isset($ARGS['-m']) || isset($ARGS['--modules'])) { _wd("Showing php modules"); $aMods = get_loaded_extensions(); sort($aMods); - echo $sPreSpace . implode("\n$sPreSpace", $aMods); + echo $sPreSpace . implode("\n$sPreSpace", $aMods)."\n"; exit(0); } -- GitLab