# HG changeset patch # User Matthew Wild # Date 1292026474 0 # Node ID c12ebbd4ab61b2d0512c290ddddcf95199ad3f16 # Parent 72a917d910a48923c692422840b76b4991efd05e prosodyctl: Make the 'restart' command start Prosody even if it wasn't already running diff -r 72a917d910a4 -r c12ebbd4ab61 prosodyctl --- a/prosodyctl Fri Dec 10 00:23:47 2010 +0500 +++ b/prosodyctl Sat Dec 11 00:14:34 2010 +0000 @@ -509,11 +509,8 @@ return 1; end - local ret = commands.stop(arg); - if ret == 0 then - ret = commands.start(arg); - end - return ret; + commands.stop(arg); + return commands.start(arg); end -- ejabberdctl compatibility