Skip to content

Commit 96eda43

Browse files
briskthobbitronics
andauthored
add missing ? deleted by accident
Co-authored-by: Michael Wilson <[email protected]>
1 parent b9a34e2 commit 96eda43

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

application/backup.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -121,7 +121,7 @@ fi
121121

122122
# Upload compressed backup file to S3
123123
start=$(date +%s);
124-
aws s3 cp "/tmp/${DB_NAME}.sql.gz" "s3://${S3_BUCKET}/${DB_NAME}.sql.gz" || STATUS=$
124+
aws s3 cp "/tmp/${DB_NAME}.sql.gz" "s3://${S3_BUCKET}/${DB_NAME}.sql.gz" || STATUS=$?
125125
if [ $STATUS -ne 0 ]; then
126126
error_message="${MYNAME}: FATAL: Copy backup to ${S3_BUCKET} of ${DB_NAME} returned non-zero status ($STATUS) in $(expr ${end} - ${start}) seconds.";
127127
log "ERROR" "${error_message}";

0 commit comments

Comments
 (0)