Update dsmon.sh
This commit is contained in:
2
dsmon.sh
2
dsmon.sh
@@ -171,7 +171,7 @@ CHECK(){
|
||||
((nc_count++))
|
||||
fi
|
||||
done
|
||||
[ "${1}" != "report" ] && printf "\n${idsCL[LightCyan]}Completed on %d of %d hosts ...${idsCL[Default]}" "${nc_count}" "${#hostnames_sort[@]}"
|
||||
[ "${1}" != "report" ] && printf "\r\n${idsCL[LightCyan]}Completed on %d of %d hosts ...${idsCL[Default]}" "${nc_count}" "${#hostnames_sort[@]}"
|
||||
|
||||
if [ $(($(date +%s)-scanstart)) -gt 300 ]; then
|
||||
SENDNOTICE "DSmon Scan Stuck" "DSmon Check scan has been running for 10mins, klling all bash...." 1
|
||||
|
||||
Reference in New Issue
Block a user