Archived
1
0

Try to die

This commit is contained in:
Mercier Pierre-Olivier 2013-11-03 01:27:01 +01:00
parent 7584473a76
commit 48bad8dca9

View File

@ -29,7 +29,7 @@ sub process
croak "$path is not a valid repository." if (! $?);
my $tar;
open my $fh, "tar -czf - -C '$tempdir' . |";
open my $fh, "tar -czf - -C '$tempdir' . |" or die ($!);
$tar .= $_ while(<$fh>);
close $fh;