mirror of
https://github.com/bjc/prosody.git
synced 2025-04-04 13:47:41 +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
|
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
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue