From 2b4e09d7c60fb3d6c64b4b4c9494b16703995525 Mon Sep 17 00:00:00 2001 From: Alexander Barton Date: Wed, 18 Nov 2015 16:24:45 +0100 Subject: [PATCH] Fix two warnings of shellcheck(1) --- bin/backup-script | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/bin/backup-script b/bin/backup-script index 185a62f..bfcc254 100755 --- a/bin/backup-script +++ b/bin/backup-script @@ -299,7 +299,7 @@ while [ $# -gt 0 ]; do done echo -n "Started: "; date -echo -e $config_info +echo -e "$config_info" # Check rsync and its protocol version rsync=$(which "rsync" 2>/dev/null) @@ -390,7 +390,7 @@ for f in $sys; do post_exec_saved="$post_exec" # Compatibility with backup-pull(1) script: Set defaults - unset host + host="" unset source unset pre_exec unset post_exec -- 2.39.2