summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThierry Vignaud <tvignaud@mandriva.org>2003-11-25 13:20:29 +0000
committerThierry Vignaud <tvignaud@mandriva.org>2003-11-25 13:20:29 +0000
commit7067dd201a157012c0d2bc8939f0198966c02ba1 (patch)
treeba8f3b3a34602a619d331a6cdf3f9257556b8b5d
parent2845ed5595b7ffa7e06f00eda563485ed2246992 (diff)
downloaddrakx-backup-do-not-use-7067dd201a157012c0d2bc8939f0198966c02ba1.tar
drakx-backup-do-not-use-7067dd201a157012c0d2bc8939f0198966c02ba1.tar.gz
drakx-backup-do-not-use-7067dd201a157012c0d2bc8939f0198966c02ba1.tar.bz2
drakx-backup-do-not-use-7067dd201a157012c0d2bc8939f0198966c02ba1.tar.xz
drakx-backup-do-not-use-7067dd201a157012c0d2bc8939f0198966c02ba1.zip
(getAndSaveFile) log which file copy failled in order to knwow which
partition is not big enough (see #6149)
-rw-r--r--perl-install/install_any.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/perl-install/install_any.pm b/perl-install/install_any.pm
index 716747ede..3a85f116e 100644
--- a/perl-install/install_any.pm
+++ b/perl-install/install_any.pm
@@ -141,7 +141,7 @@ sub getAndSaveFile {
my $f = ref($file) ? $file : getFile($file) or return;
open(my $F, ">$local") or return;
local $_;
- while (<$f>) { syswrite($F, $_) or die("getAndSaveFile: $!") }
+ while (<$f>) { syswrite($F, $_) or die("getAndSaveFile($local): $!") }
1;
}