imonitor: do not check the ubus call before restarting questd

Do no check the ubus call before restarting questd
	because in some cases the ubus call still works as normal,
	even if there are 2 questd processes running.
This commit is contained in:
Alex Oprea 2017-04-26 11:10:42 +02:00
parent 3fb9756e42
commit d6a6350e62

View file

@ -193,7 +193,8 @@ main()
"$restart_mem" = "1" -o \
"$restart_pcpu" = "1" ]
then
check_ubuscall || restart_questd
# check_ubuscall || restart_questd
restart_questd
fi
if [ "$BSDBIN" ] ; then