diff options
author | Pascal Rigaux <pixel@mandriva.com> | 2003-11-20 17:35:42 +0000 |
---|---|---|
committer | Pascal Rigaux <pixel@mandriva.com> | 2003-11-20 17:35:42 +0000 |
commit | edce203ab42571ebef304b2b04848a1ff654fda9 (patch) | |
tree | e536c4e859bdf9d7700bb98243dc2ea06ed65553 /move | |
parent | 8d296210b4555cf1cce80930eb4a2aafe9012d64 (diff) | |
download | drakx-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.pm | 3 |
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 { |