From 8f2909f81d3c21c64908a07726f6c41eeae8eae5 Mon Sep 17 00:00:00 2001 From: EuAndreh Date: Tue, 14 Mar 2023 10:56:18 -0300 Subject: cronjob.sh: Fix space trimming on report output --- src/infrastructure/scripts/cronjob.sh | 1 + 1 file changed, 1 insertion(+) (limited to 'src/infrastructure/scripts/cronjob.sh') diff --git a/src/infrastructure/scripts/cronjob.sh b/src/infrastructure/scripts/cronjob.sh index 67ba885..ee7c2c4 100755 --- a/src/infrastructure/scripts/cronjob.sh +++ b/src/infrastructure/scripts/cronjob.sh @@ -111,6 +111,7 @@ pre() { # Same as: # sed -u "s|^|[$CMD]: |" # but the "-u" option is not POSIX + IFS='' while read -r line; do printf '[%s]: %s\n' "$CMD" "$line" done -- cgit v1.2.3