Skip to content

Commit

Permalink
mount.snapshot: fix script exit code
Browse files Browse the repository at this point in the history
Signed-off-by: Amir Goldstein <[email protected]>
  • Loading branch information
amir73il committed Mar 27, 2017
1 parent eaa7bc1 commit 089b0cc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/mount.snapshot
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ mount_internal()

freeze_thaw()
{
[ "$REMOUNT" = true ] || return
[ "$REMOUNT" = true ] || return 0
fsfreeze -f "$mntdir" || exit 1
fsfreeze -u "$mntdir" || exit 1
}
Expand Down

0 comments on commit 089b0cc

Please sign in to comment.