]> arthur.barton.de Git - backup-script.git/blobdiff - bin/backup-script
Fix two warnings of shellcheck(1)
[backup-script.git] / bin / backup-script
index 185a62f970db7f830d34f4955d239cb1ec72275e..bfcc2543c1d0e5c2df8ae613a8315b13e48c0740 100755 (executable)
@@ -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