Random Project

Error without subdirectories

for a valid search without subdirectory you need to add “maxdepth 1” on line 219 :

else if [ $SUBS = “-s=no” -a $TYPE = “-t=file” ]; then
219 FILECOUNT=$(echo `find $TESTEDDIR -nowarn -maxdepth 1 -type f | wc -l`)
220 FILENUMBER=$FILECOUNT
221 DIRNUMBER=”0″