Software /
code /
prosody
Changeset
3724:c12ebbd4ab61
prosodyctl: Make the 'restart' command start Prosody even if it wasn't already running
author | Matthew Wild <mwild1@gmail.com> |
---|---|
date | Sat, 11 Dec 2010 00:14:34 +0000 |
parents | 3723:72a917d910a4 |
children | 3725:926ece7d0e67 |
files | prosodyctl |
diffstat | 1 files changed, 2 insertions(+), 5 deletions(-) [+] |
line wrap: on
line diff
--- 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