From af9906519b712cd2a8f88e187464e7d9c565f3d3 Mon Sep 17 00:00:00 2001 From: Thierry Vignaud Date: Tue, 13 Nov 2007 12:41:27 +0000 Subject: (umount) fix garbaged error messages when umounting fs --- perl-install/fs/mount.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'perl-install/fs') 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) -- cgit v1.2.1