Try to die
This commit is contained in:
parent
b38a5514e5
commit
7584473a76
1 changed files with 1 additions and 1 deletions
|
@ -24,7 +24,7 @@ sub process
|
||||||
|
|
||||||
my $tempdir = tempdir();
|
my $tempdir = tempdir();
|
||||||
|
|
||||||
qx/git clone -b '$rendu' '$path' '$tempdir'/;
|
qx/git clone -b '$rendu' '$path' '$tempdir'/ or croak "$path is not a valid repository.";
|
||||||
|
|
||||||
croak "$path is not a valid repository." if (! $?);
|
croak "$path is not a valid repository." if (! $?);
|
||||||
|
|
||||||
|
|
Reference in a new issue