aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKim Alvefur <zash@zash.se>2019-11-01 23:16:58 +0100
committerKim Alvefur <zash@zash.se>2019-11-01 23:16:58 +0100
commitf6983a3d514a29fb8eab260f65373523450046cf (patch)
tree534f83e28146e0a19599048607ca245a8b1cf362
parent64a2f6c1920e46288b323efcf9ce445fde61226a (diff)
downloadprosody-f6983a3d514a29fb8eab260f65373523450046cf.tar.gz
prosody-f6983a3d514a29fb8eab260f65373523450046cf.zip
prosodyctl: Print friendly version of error messages
-rwxr-xr-xprosodyctl2
1 files changed, 1 insertions, 1 deletions
diff --git a/prosodyctl b/prosodyctl
index 82b5faaa..a4724a19 100755
--- a/prosodyctl
+++ b/prosodyctl
@@ -144,7 +144,7 @@ function commands.adduser(arg)
if ok then return 0; end
- show_message(msg)
+ show_message(error_messages[msg])
return 1;
end