From 29a0c9128e516433e9e687338d1f99828e72cade Mon Sep 17 00:00:00 2001 From: Matthias Bilger Date: Fri, 11 Oct 2019 20:25:59 +0200 Subject: [PATCH] fixed default value for skip --- backup.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/backup.sh b/backup.sh index e81150d..a2a498b 100644 --- a/backup.sh +++ b/backup.sh @@ -2,7 +2,7 @@ BACKUP_DATE=$(date +"%Y-%m-%d") BACKUP_BASENAME=$S3_BUCKET_NAME$BACKUP_DATE.tar -SKIP_XZ=${ONLY_TAR:0} +SKIP_XZ=${ONLY_TAR:-0} month_day=`date +"%d"`