25
1
mirror of https://github.com/processone/ejabberd.git synced 2024-11-24 16:23:40 +01:00

Fix binaries in command ejabberdctl stop_kindly

This commit is contained in:
Badlop 2015-01-07 11:44:04 +01:00
parent d24dc4e9c8
commit 3882c4d514

View File

@ -252,9 +252,10 @@ reopen_log() ->
%%% Stop Kindly %%% Stop Kindly
%%% %%%
stop_kindly(DelaySeconds, AnnouncementText) -> stop_kindly(DelaySeconds, AnnouncementTextString) ->
Subject = io_lib:format("Server stop in ~p seconds!", [DelaySeconds]), Subject = list_to_binary(io_lib:format("Server stop in ~p seconds!", [DelaySeconds])),
WaitingDesc = io_lib:format("Waiting ~p seconds", [DelaySeconds]), WaitingDesc = list_to_binary(io_lib:format("Waiting ~p seconds", [DelaySeconds])),
AnnouncementText = list_to_binary(AnnouncementTextString),
Steps = [ Steps = [
{"Stopping ejabberd port listeners", {"Stopping ejabberd port listeners",
ejabberd_listener, stop_listeners, []}, ejabberd_listener, stop_listeners, []},