Update dsmon.sh

This commit is contained in:
2025-06-14 22:52:51 -05:00
parent f5a294b46e
commit ff13a3acf6

View File

@@ -178,7 +178,7 @@ CHECK(){
if [ $(($(date +%s)-scanstart)) -gt 300 ]; then if [ $(($(date +%s)-scanstart)) -gt 300 ]; then
SENDNOTICE "DSmon 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
pw service all stop [ -f /usr/local/bin/pw ] && /usr/local/bin/pw service all stop
killall bash killall bash
exit 1 exit 1
fi fi