diff options
-rwxr-xr-x | squashfu | 3 |
1 files changed, 1 insertions, 2 deletions
@@ -257,8 +257,7 @@ action_backup () { /usr/bin/rsync ${RSYNC_OPTS[@]} ${INCLUDES[@]} ${EXCLUDES[@]} "$UNION_MOUNT" rsync_ret=$? - # TODO: convert to check for error code in array - for $error in ${DEL_BIN_ON_FAIL[@]}; do + for error in ${DEL_BIN_ON_FAIL[@]}; do if [[ $rsync_ret == $error ]]; then warn "Unexpected hangup by rsync ($error). Deleting backup." action_remove_bin $new_bin override |