diff options
author | Matthew Wild <mwild1@gmail.com> | 2010-12-11 00:14:34 +0000 |
---|---|---|
committer | Matthew Wild <mwild1@gmail.com> | 2010-12-11 00:14:34 +0000 |
commit | 5ca4d27ae1488e11e07b3b797617fc83ce391a30 (patch) | |
tree | 35f72028ba71e5f42b4f5f9c445546dafe128994 | |
parent | e74066417c8d4a5dbc429ef82d0e9268f8b4e6fd (diff) | |
download | prosody-5ca4d27ae1488e11e07b3b797617fc83ce391a30.tar.gz prosody-5ca4d27ae1488e11e07b3b797617fc83ce391a30.zip |
prosodyctl: Make the 'restart' command start Prosody even if it wasn't already running
-rwxr-xr-x | prosodyctl | 7 |
1 files changed, 2 insertions, 5 deletions
@@ -509,11 +509,8 @@ function commands.restart(arg) 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 |