prosodyctl: Reformat note to fit in small-width terminals

This commit is contained in:
Matthew Wild 2009-05-05 16:25:13 +01:00
parent 6556394e75
commit b504f873e7

View file

@ -318,9 +318,10 @@ function commands.status(arg)
else else
show_message("Prosody is not running"); show_message("Prosody is not running");
if not switched_user and current_uid ~= 0 then if not switched_user and current_uid ~= 0 then
print("\nNote: You will also see this if prosodyctl is not running under the same"); print("\nNote:")
print(" user account as Prosody. Try running as root (e.g. with 'sudo' in front) to"); print(" You will also see this if prosodyctl is not running under");
print(" gain access to Prosody's real status."); print(" the same user account as Prosody. Try running as root (e.g. ");
print(" with 'sudo' in front) to gain access to Prosody's real status.");
end end
return 2 return 2
end end