]> arthur.barton.de Git - backup-script.git/commitdiff
Don't show storage summary in trial mode
authorAlexander Barton <alex@barton.de>
Thu, 26 Sep 2013 13:06:19 +0000 (15:06 +0200)
committerAlexander Barton <alex@barton.de>
Thu, 26 Sep 2013 13:06:19 +0000 (15:06 +0200)
bin/backup-script

index 3065f19e051a377796833f9136f96af7744f0b00..9d8576d1b34fd636e2509a71bd766a73ef3a5590 100755 (executable)
@@ -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