diff options
-rw-r--r-- | lib/Youri/Repository.pm | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/Youri/Repository.pm b/lib/Youri/Repository.pm index 2434cb4..cc02bbc 100644 --- a/lib/Youri/Repository.pm +++ b/lib/Youri/Repository.pm @@ -306,6 +306,7 @@ sub get_files { my $grep = ""; $grep = "-regextype posix-egrep -regex '.*\/$pattern'" if ($pattern); my @files = map { chop; $_; } `find -L $root/$path $grep -type f`; + die "FATAL: get_files(): find failed!" if ($?); return @files; } |