erylee 13 лет назад
Родитель
Сommit
0953344e06
1 измененных файлов с 4 добавлено и 4 удалено
  1. 4 4
      src/emqtt_ctl.erl

+ 4 - 4
src/emqtt_ctl.erl

@@ -6,12 +6,12 @@
 	
 status() ->
     {InternalStatus, _ProvidedStatus} = init:get_status(),
-    ?PRINT("Node ~p is ~p.", [node(), InternalStatus]),
-    case lists:keysearch(wifioss, 1, application:which_applications()) of
+    ?PRINT("Node ~p is ~p~n", [node(), InternalStatus]),
+    case lists:keysearch(emqtt, 1, application:which_applications()) of
 	false ->
-		?PRINT_MSG("wifioss is not running~n");
+		?PRINT_MSG("emqtt is not running~n");
 	{value,_Version} ->
-		?PRINT_MSG("wifioss is running~n")
+		?PRINT_MSG("emqtt is running~n")
     end.
 
 cluster_info() ->