summaryrefslogtreecommitdiffstats
path: root/move
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>2003-11-20 17:35:42 +0000
committerPascal Rigaux <pixel@mandriva.com>2003-11-20 17:35:42 +0000
commitedce203ab42571ebef304b2b04848a1ff654fda9 (patch)
treee536c4e859bdf9d7700bb98243dc2ea06ed65553 /move
parent8d296210b4555cf1cce80930eb4a2aafe9012d64 (diff)
downloaddrakx-edce203ab42571ebef304b2b04848a1ff654fda9.tar
drakx-edce203ab42571ebef304b2b04848a1ff654fda9.tar.gz
drakx-edce203ab42571ebef304b2b04848a1ff654fda9.tar.bz2
drakx-edce203ab42571ebef304b2b04848a1ff654fda9.tar.xz
drakx-edce203ab42571ebef304b2b04848a1ff654fda9.zip
simplify
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 {