Update dsmon.sh
This commit is contained in:
2
dsmon.sh
2
dsmon.sh
@@ -398,7 +398,7 @@ RUNCMD_SUB(){
|
|||||||
if [ "${ssh_output}" == "" ]; then
|
if [ "${ssh_output}" == "" ]; then
|
||||||
echo -e "${idsCL[Red]} ${host} [${ip}] - Timeout${idsCL[Default]}" >> ${tmpfile}.running
|
echo -e "${idsCL[Red]} ${host} [${ip}] - Timeout${idsCL[Default]}" >> ${tmpfile}.running
|
||||||
else
|
else
|
||||||
echo -e "${idsCL[LightYellow]}${ssh_output}${idsCL[Default]}" >> ${tmpfile}.running
|
echo -e "${idsCL[Yellow]}${ssh_output}${idsCL[Default]}" >> ${tmpfile}.running
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
mv ${tmpfile}.running ${tmpfile}.done > /dev/null 2>&1
|
mv ${tmpfile}.running ${tmpfile}.done > /dev/null 2>&1
|
||||||
|
|||||||
Reference in New Issue
Block a user