Try to die
This commit is contained in:
parent
b38a5514e5
commit
7584473a76
|
@ -24,7 +24,7 @@ sub process
|
|||
|
||||
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 (! $?);
|
||||
|
||||
|
|
Reference in New Issue
Block a user