Skip to content

Commit

Permalink
src/winusb: cleanup_mountpoints: Don't exit when normal_cleanup
Browse files Browse the repository at this point in the history
Signed-off-by: 林博仁 <[email protected]>
  • Loading branch information
brlin-tw committed Jun 5, 2017
1 parent ee12262 commit 9e2a122
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/winusb
Original file line number Diff line number Diff line change
Expand Up @@ -697,7 +697,7 @@ cleanup_mountpoints(){
umount "$2" && rm -rf "$2" || true

if [ "$3" = 'normal_cleanup' ]; then
exit 0
return 0
else
exit 2
fi
Expand Down

0 comments on commit 9e2a122

Please sign in to comment.