From: Alexander Barton Date: Thu, 26 Sep 2013 13:06:19 +0000 (+0200) Subject: Don't show storage summary in trial mode X-Git-Url: https://arthur.barton.de/cgi-bin/gitweb.cgi?p=backup-script.git;a=commitdiff_plain;h=ece17de41e9ae81060e2342d894164c4a5c2ee52 Don't show storage summary in trial mode --- diff --git a/bin/backup-script b/bin/backup-script index 3065f19..9d8576d 100755 --- a/bin/backup-script +++ b/bin/backup-script @@ -248,7 +248,7 @@ done sync paths=$( echo $destinations | sed -e 's/ /\n/g' | sort | uniq ) -if [ -n "$paths" ]; then +if [ "$DRYRUN" -eq 0 -a -n "$paths" ]; then df -h $paths echo fi