Make helper try to umount $target on errors
Since the mount and umount commands are tasks, if a task fails, the filesystem may have been left mounted. For this case, I've created a trap that tries to umount the filesystem
Please register or sign in to comment