summaryrefslogtreecommitdiffstats
path: root/perl-install
diff options
context:
space:
mode:
authorThierry Vignaud <tv@mandriva.org>2007-11-13 12:41:27 +0000
committerThierry Vignaud <tv@mandriva.org>2007-11-13 12:41:27 +0000
commitaf9906519b712cd2a8f88e187464e7d9c565f3d3 (patch)
tree388119a9b2a2b08200119166c68b0b9d3df1eb98 /perl-install
parentc2d8aa753fbba83d34007afd2d3c1bd2fce5dcbd (diff)
downloaddrakx-af9906519b712cd2a8f88e187464e7d9c565f3d3.tar
drakx-af9906519b712cd2a8f88e187464e7d9c565f3d3.tar.gz
drakx-af9906519b712cd2a8f88e187464e7d9c565f3d3.tar.bz2
drakx-af9906519b712cd2a8f88e187464e7d9c565f3d3.tar.xz
drakx-af9906519b712cd2a8f88e187464e7d9c565f3d3.zip
(umount) fix garbaged error messages when umounting fs
Diffstat (limited to 'perl-install')
-rw-r--r--perl-install/NEWS3
-rw-r--r--perl-install/fs/mount.pm2
2 files changed, 4 insertions, 1 deletions
diff --git a/perl-install/NEWS b/perl-install/NEWS
index accb94273..4001b59cc 100644
--- a/perl-install/NEWS
+++ b/perl-install/NEWS
@@ -1,3 +1,6 @@
+- diskdrake:
+ o fix garbaged error messages when
+
Version 10.5.3 - 9 November 2007, by Pascal "Pixel" Rigaux
- bootloader-config:
diff --git a/perl-install/fs/mount.pm b/perl-install/fs/mount.pm
index 6b9191a73..7a1af4da5 100644
--- a/perl-install/fs/mount.pm
+++ b/perl-install/fs/mount.pm
@@ -116,7 +116,7 @@ sub umount {
run_program::run('umount', $mntpoint) or do {
kill 15, fuzzy_pidofs('^fam\b');
my $err;
- run_program::run('umount', '2>', \$err, $mntpoint) or die N("error unmounting %s: %s", $mntpoint, $err);
+ run_program::run('umount', '2>', \$err, $mntpoint) or die N("error unmounting %s: %s", $mntpoint, common::to_utf8($err));
};
substInFile { $_ = '' if /(^|\s)$mntpoint\s/ } '/etc/mtab'; #- do not care about error, if we can not read, we will not manage to write... (and mess mtab)