Update nodemgmt-scripts.sh
This commit is contained in:
1 parent
e614820bb8
commit
87b5bd9638
1 file changed
+1
-1
+1
-1
@@ -165,7 +165,7 @@ STATUS(){
|
||||
fi
|
||||
if [ "${checkhost}" != "false" ]; then
|
||||
if [ "${ST_ACTION}" != "check" ]; then
|
||||
if [ "${ST_ACTION}" = "report" ] && [ "${3}" != "email" ]; then
|
||||
if [ "${ST_ACTION}" = "report" ] && [ "${2}" != "email" ]; then
|
||||
uptime=`${NCMD} uptime -p`
|
||||
elif [ "${ST_ACTION}" != "report" ]; then
|
||||
uptime=`${NCMD} uptime -p`
|
||||
|
||||
Reference in new issue
Block a user