19951b718000b8375d80e99f18da4335bc5a9c1e

Author
Marc Gallet <mgallet@ffe.de>
Committer
Marc Gallet <mgallet@ffe.de>
Date

Message

Fix issue #94

Diff

 1diff --git a/duplicity-backup.sh b/duplicity-backup.sh
 2index f658dfbcb5f6714e048b92d3c0eb34ba07460378..5dcae5ede587a59cf0c09b483ea3157a47da8e8c 100644
 3--- a/duplicity-backup.sh
 4+++ b/duplicity-backup.sh
 5@@ -471,7 +471,7 @@ get_remote_file_size()
 6     ;;
 7   esac
 8 
 9-  if $FRIENDLY_TYPE_NAME ; then
10+  if [[ $FRIENDLY_TYPE_NAME ]] ; then
11       echo -e ""$SIZE"\t"$FRIENDLY_TYPE_NAME" type backend" >> ${LOGFILE}
12   else
13       echo "Destination disk use information is currently only available for the following storage backends:" >> ${LOGFILE}