summaryrefslogtreecommitdiffstats
path: root/move
diff options
context:
space:
mode:
Diffstat (limited to 'move')
-rw-r--r--move/move.pm3
1 files changed, 1 insertions, 2 deletions
diff --git a/move/move.pm b/move/move.pm
index 185ab5baf..1f2760edb 100644
--- a/move/move.pm
+++ b/move/move.pm
@@ -201,8 +201,7 @@ sub key_mount {
sub key_umount {
my ($o) = @_;
- eval { fs::umount_part($_) foreach key_parts($o) };
- !$@;
+ eval { fs::umount_part($_) foreach key_parts($o); 1 };
}
sub machine_ident {