projects
/
prosody.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
mod_storage_sql: Auto-initialize SQLite3 database.
[prosody.git]
/
prosodyctl
diff --git
a/prosodyctl
b/prosodyctl
index 8fa12807d1832db705e9decd9e1e16f9d268fa51..94816c56da70eee9882195eabb35e215aa04a7b1 100755
(executable)
--- a/
prosodyctl
+++ b/
prosodyctl
@@
-509,11
+509,8
@@
function commands.restart(arg)
return 1;
end
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
end
-- ejabberdctl compatibility