From 9d06ab4eadd96b5e87d0a08f2d7223109fde0dad Mon Sep 17 00:00:00 2001 From: Valentin Lab Date: Fri, 23 Apr 2021 15:38:44 +0200 Subject: [PATCH] fix: dev: [vps] insert line return in error message for clarity !minor Signed-off-by: Valentin Lab --- bin/vps | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/bin/vps b/bin/vps index 23533f5..fdf3a09 100755 --- a/bin/vps +++ b/bin/vps @@ -436,8 +436,8 @@ cmdline.spec:backup:cmd:mailcow:run() { for f in mysql-backup mirror-dir; do [ -e "/etc/cron.d/$f" ] || { - err "Can't find '/etc/cron.d/$f'." \ - "Have you forgotten to run 'vps install backup BACKUP_HOST' ?" + err "Can't find '/etc/cron.d/$f'." + echo " Have you forgotten to run 'vps install backup BACKUP_HOST' ?" >&2 return 1 } @@ -492,8 +492,8 @@ cmdline.spec:backup:cmd:compose:run() { local cron_line args if ! cron_line=$(docker exec myc_cron_1 cat /etc/cron.d/rsync-backup | grep "\* \* \*"); then - err "Can't find cron_line in cron container." \ - "Have you forgotten to run 'compose up' ?" + err "Can't find cron_line in cron container." + echo " Have you forgotten to run 'compose up' ?" >&2 exit 1 fi