Skip to content

Commit 1893766

Browse files
committed
Use == as it's not a number
Signed-off-by: Jacques Marneweck <[email protected]>
1 parent f6d0af4 commit 1893766

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

backup-mysql-databases

+1-1
Original file line numberDiff line numberDiff line change
@@ -72,6 +72,6 @@ cd ${BACKUP_BASE_DIR}/mysql
7272
#
7373
# Upload the backup files to a remote server
7474
#
75-
if [[ $BACKUP_OFFSITE_ENABLED -eq "yes" ]]; then
75+
if [[ $BACKUP_OFFSITE_ENABLED == "yes" ]]; then
7676
/opt/local/bin/rsync -avz ${RSYNC_OPTS} ${BACKUP_BASE_DIR}/mysql ${BACKUP_USER}@${BACKUP_HOST}:${BACKUP_REMOTE_DIR}
7777
fi

0 commit comments

Comments
 (0)