changeset 8123 | 3c5f0cb4381a |
parent 8122 | 94a1fdaf12d1 |
child 8124 | a33a87f13155 |
child 8125 | e56a90168890 |
--- a/prosodyctl Sat Apr 22 19:12:26 2017 +0200 +++ b/prosodyctl Sat Apr 22 19:12:51 2017 +0200 @@ -897,6 +897,10 @@ end if imported[1] then show_message("Imported certificate and key for hosts "..table.concat(imported, ", ")); + local ok, err = prosodyctl.reload(); + if not ok and err ~= "not-running" then + show_message(error_messages[err]); + end else show_warning("No certificates imported :("); return 1;