Comparison

prosodyctl @ 1122:07b2b5942957

prosodyctl: Reformat note to fit in small-width terminals
author Matthew Wild <mwild1@gmail.com>
date Tue, 05 May 2009 16:25:13 +0100
parent 1120:23fa69b911f7
child 1124:055cfdc96afa
comparison
equal deleted inserted replaced
1120:23fa69b911f7 1122:07b2b5942957
316 show_message("Prosody is running with PID %s", ret or "(unknown)"); 316 show_message("Prosody is running with PID %s", ret or "(unknown)");
317 return 0; 317 return 0;
318 else 318 else
319 show_message("Prosody is not running"); 319 show_message("Prosody is not running");
320 if not switched_user and current_uid ~= 0 then 320 if not switched_user and current_uid ~= 0 then
321 print("\nNote: You will also see this if prosodyctl is not running under the same"); 321 print("\nNote:")
322 print(" user account as Prosody. Try running as root (e.g. with 'sudo' in front) to"); 322 print(" You will also see this if prosodyctl is not running under");
323 print(" gain access to Prosody's real status."); 323 print(" the same user account as Prosody. Try running as root (e.g. ");
324 print(" with 'sudo' in front) to gain access to Prosody's real status.");
324 end 325 end
325 return 2 326 return 2
326 end 327 end
327 return 1; 328 return 1;
328 end 329 end