X-Git-Url: https://git.enpas.org/?a=blobdiff_plain;f=prosodyctl;h=94816c56da70eee9882195eabb35e215aa04a7b1;hb=9ebb97f8262d94d6e39a0601bd5d58e26e949fb3;hp=8fa12807d1832db705e9decd9e1e16f9d268fa51;hpb=333833bd46b31807f3f0289d612da958c4e33451;p=prosody.git diff --git a/prosodyctl b/prosodyctl index 8fa12807..94816c56 100755 --- a/prosodyctl +++ b/prosodyctl @@ -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