From c64386dd4e1e0957c569e61edb009bce394c582a Mon Sep 17 00:00:00 2001 From: Salt Date: Sat, 11 Jul 2020 09:05:34 -0500 Subject: [PATCH] Fix another damn typo --- roles/desktop/templates/backup.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/roles/desktop/templates/backup.sh b/roles/desktop/templates/backup.sh index 5c62a41..a6ddcb8 100644 --- a/roles/desktop/templates/backup.sh +++ b/roles/desktop/templates/backup.sh @@ -42,7 +42,7 @@ for dir in /home/*; do tar czhf "$OUTDIR/desktop-$username-{{ inventory_hostname }}-$(date -Iseconds).tar.gz" "$dir/.backup/"* if (( "$(date +%d)" == "1" )) || [ -f "$forcefile" ]; then log "Detected conditions for monthly dump" - if command -v aws > /dev/null 2>&1 && aws s3 ls "s3://$s3bucket " > /dev/null 2>&1; then + if command -v aws > /dev/null 2>&1 && aws s3 ls "s3://$s3bucket" > /dev/null 2>&1; then # Time for huge backups piped straight to S3 tar \ --exclude "$dir/.ansible" \