summaryrefslogtreecommitdiffstats
path: root/perl-install/install_any.pm
diff options
context:
space:
mode:
Diffstat (limited to 'perl-install/install_any.pm')
-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 af380f3e7..e6552307f 100644
--- a/perl-install/install_any.pm
+++ b/perl-install/install_any.pm
@@ -137,7 +137,7 @@ sub getAndSaveFile {
my $f = ref($file) ? $file : getFile($file) or return;
open(my $F, ">$local") or return;
local $_;
- while (<$f>) { syswrite $F, $_ }
+ while (<$f>) { syswrite($F, $_) or die("getAndSaveFile: $!") }
1;
}