Update dsmon.sh

This commit is contained in:
voltron committed 2025-06-14 22:52:51 -05:00
1 parent f5a294b46e
commit ff13a3acf6
1 file changed
+1 -1
+1 -1
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