mirror of
https://github.com/bjc/prosody.git
synced 2025-04-03 21:27:38 +03:00
prosodyctl: Reformat note to fit in small-width terminals
This commit is contained in:
parent
6556394e75
commit
b504f873e7
1 changed files with 4 additions and 3 deletions
|
@ -318,9 +318,10 @@ function commands.status(arg)
|
|||
else
|
||||
show_message("Prosody is not running");
|
||||
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(" user account as Prosody. Try running as root (e.g. with 'sudo' in front) to");
|
||||
print(" gain access to Prosody's real status.");
|
||||
print("\nNote:")
|
||||
print(" You will also see this if prosodyctl is not running under");
|
||||
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
|
||||
return 2
|
||||
end
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue