summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorOlivier Blin <oblin@mandriva.com>2008-03-20 15:40:32 +0000
committerOlivier Blin <oblin@mandriva.com>2008-03-20 15:40:32 +0000
commit424a5e2cf9a77d8e29aba7e56e6928c14b919c04 (patch)
treeee7d4dc1b723a4108860d379c5214cca59b7e3ba
parentb8f12f7035e50b5a40403c5cec51b8a04bbcbb76 (diff)
downloaddraklive-install-424a5e2cf9a77d8e29aba7e56e6928c14b919c04.tar
draklive-install-424a5e2cf9a77d8e29aba7e56e6928c14b919c04.tar.gz
draklive-install-424a5e2cf9a77d8e29aba7e56e6928c14b919c04.tar.bz2
draklive-install-424a5e2cf9a77d8e29aba7e56e6928c14b919c04.tar.xz
draklive-install-424a5e2cf9a77d8e29aba7e56e6928c14b919c04.zip
log when umount fails
-rwxr-xr-xdraklive-install1
1 files changed, 1 insertions, 0 deletions
diff --git a/draklive-install b/draklive-install
index 099569c..4282234 100755
--- a/draklive-install
+++ b/draklive-install
@@ -107,6 +107,7 @@ sub umount_first_pass() {
foreach (sort { $b->{mntpoint} cmp $a->{mntpoint} }
grep { $_->{mntpoint} && !$_->{real_mntpoint} } @$fstab) {
eval { fs::mount::umount_part($_) };
+ log::l("error unmounting $_-> {mntpoint}: $@") if $@;
}
}