Update dsmon.sh

This commit is contained in:
2024-09-08 09:09:37 -05:00
parent 43227a36df
commit d1fa0a8bca

View File

@@ -150,7 +150,7 @@ CHECK(){
fi fi
done done
if [ $(($(date +%s)-scanstart)) -gt 300 ]; then if [ $(($(date +%s)-scanstart)) -gt 300 ]; then
SENDNOTICE "NMG Scan Stuck" "DSmon Check scan has been running for 10mins, klling all bash...." 1 SENDNOTICE "DSmon Scan Stuck" "DSmon Check scan has been running for 10mins, klling all bash...." 1
killall bash killall bash
exit 1 exit 1
fi fi