Update dsmon.sh
This commit is contained in:
2
dsmon.sh
2
dsmon.sh
@@ -178,7 +178,7 @@ CHECK(){
|
||||
|
||||
if [ $(($(date +%s)-scanstart)) -gt 300 ]; then
|
||||
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
|
||||
exit 1
|
||||
fi
|
||||
|
||||
Reference in New Issue
Block a user