t: ignore empty files

This commit is contained in:
Steve Schnepp 2019-07-27 21:03:42 +02:00
parent 9cd0bba835
commit f42fdaa669
1 changed files with 1 additions and 0 deletions

View File

@ -18,6 +18,7 @@ sub wanted {
( ( $dev, $ino, $mode, $nlink, $uid, $gid ) = lstat($_) )
&& -f _
&& -s _
&& ( ( $interpreter, $arguments ) = hashbang("$_") )
&& ($interpreter)
&& ++$num_plugins