Skip to content
Browse files

blockdiff_backup exitted with 0 even if dump command exitted non-zero

  • Loading branch information...
1 parent 68690af commit c40d89838f90e95343c3d153bac083704f60bbe1 @kazuho committed Jan 20, 2010
Showing with 1 addition and 1 deletion.
  1. +1 −1 blockdiff_backup
View
2 blockdiff_backup
@@ -51,7 +51,7 @@ echo $BACKUP_CMD | sh
EXIT_CODE=$?
if [ "$EXIT_CODE" -ne "0" ] ; then
rm -f "$BACKUP_FILE" "$BACKUP_NAME.$NEXT_VER.md5"
- exit $?
+ exit $EXIT_CODE
fi
# increment version

0 comments on commit c40d898

Please sign in to comment.
Something went wrong with that request. Please try again.