From 19951b718000b8375d80e99f18da4335bc5a9c1e Mon Sep 17 00:00:00 2001 From: Marc Gallet Date: Thu, 21 May 2015 09:09:10 +0200 Subject: [PATCH] Fix issue #94 --- duplicity-backup.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/duplicity-backup.sh b/duplicity-backup.sh index f658dfb..5dcae5e 100644 --- a/duplicity-backup.sh +++ b/duplicity-backup.sh @@ -471,7 +471,7 @@ get_remote_file_size() ;; esac - if $FRIENDLY_TYPE_NAME ; then + if [[ $FRIENDLY_TYPE_NAME ]] ; then echo -e ""$SIZE"\t"$FRIENDLY_TYPE_NAME" type backend" >> ${LOGFILE} else echo "Destination disk use information is currently only available for the following storage backends:" >> ${LOGFILE}