Skip to content

Commit

Permalink
exit only if not enough space
Browse files Browse the repository at this point in the history
  • Loading branch information
JeGoi committed Oct 16, 2024
1 parent e6d7b6e commit 60296c8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion addons/exportable-backup.sh
Original file line number Diff line number Diff line change
Expand Up @@ -81,8 +81,8 @@ check_disk_space(){
if (( $BACKUPS_AVAILABLE_SPACE < (( (( $MYSQL_USED_SPACE + $CONF_USED_SPACE )) /2 )) )); then
echo "There is not enough space in $BACKUP_DIRECTORY to safely backup exportable. Skipping backup." >&2
echo "There is not enough space in $BACKUP_DIRECTORY to safely backup exportable. Skipping backup." > /usr/local/pf/var/backup_pf.status
exit $BACKUPRC
fi
exit $BACKUPRC
}


Expand Down

0 comments on commit 60296c8

Please sign in to comment.