ea142128064f51c181d4b151d0b927267c36eb17

Author
Philip <philip@yewtreeapps.com>
Committer
Philip <philip@yewtreeapps.com>
Date

Message

remove not on -z INCLIST check

Diff

 1diff --git a/duplicity-backup.sh b/duplicity-backup.sh
 2index 4704817c22a8334cf942e7138b673352ee56a5ee..f5d91e17b66c627acc2ff27b536519187e7fdb0e 100755
 3--- a/duplicity-backup.sh
 4+++ b/duplicity-backup.sh
 5@@ -373,7 +373,7 @@ get_source_file_size()
 6   done
 7 
 8   # if INCLIST is not set or empty, add ROOT to it to be able to calculate disk usage
 9-  if [ ! -z "$INCLIST" ]; then
10+  if [ -z "$INCLIST" ]; then
11     DUINCLIST=($ROOT)
12   else
13     DUINCLIST=$INCLIST