From b61bcc3ccce5a2d97121dc3e3781f80032c59c64 Mon Sep 17 00:00:00 2001 From: Ery Lee Date: Tue, 17 Mar 2015 01:51:21 +0800 Subject: [PATCH] fix issue #69 --- rel/files/emqttd_ctl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rel/files/emqttd_ctl b/rel/files/emqttd_ctl index 0e75cc5ab..35c550ca0 100755 --- a/rel/files/emqttd_ctl +++ b/rel/files/emqttd_ctl @@ -192,7 +192,7 @@ case "$1" in echo "emqttd is not running!" exit 1 fi - if [ $# -eq 2 && $2 = "list"]; then + if [ $# -eq 2 -a $2 = "list" ]; then $NODETOOL rpc emqttd_ctl plugins list elif [ $# -eq 3 ]; then shift