Build precise queries to find exactly what you need
Press ESC to close
Nagios World Conference 2026: Sept. 14-17 in St. Paul, MN | Learn More
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″