Commit b3b85757 by Chavee Issariyapat

fix bug in conditional script

parent d998f387
...@@ -143,7 +143,7 @@ cp -Rf /etc/vernemq/* /vernemq/etc ...@@ -143,7 +143,7 @@ cp -Rf /etc/vernemq/* /vernemq/etc
/usr/sbin/setapikey.sh & /usr/sbin/setapikey.sh &
/vernemq/bin/vernemq start /vernemq/bin/vernemq start
pid=$(ps aux | grep '[b]eam.smp' | awk '{print $1}') pid=$(ps aux | grep '[b]eam.smp' | awk '{print $1}')
pid=$(pid+0) pid=$((pid+0))
touch /var/log/vernemq/console.log touch /var/log/vernemq/console.log
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment