Try to die
This commit is contained in:
parent
7584473a76
commit
48bad8dca9
@ -29,7 +29,7 @@ sub process
|
|||||||
croak "$path is not a valid repository." if (! $?);
|
croak "$path is not a valid repository." if (! $?);
|
||||||
|
|
||||||
my $tar;
|
my $tar;
|
||||||
open my $fh, "tar -czf - -C '$tempdir' . |";
|
open my $fh, "tar -czf - -C '$tempdir' . |" or die ($!);
|
||||||
$tar .= $_ while(<$fh>);
|
$tar .= $_ while(<$fh>);
|
||||||
close $fh;
|
close $fh;
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user