Comparison

util/prosodyctl/check.lua @ 11783:7bf246e6792b

util.prosodyctl.check: Remove stray debug print()
author Kim Alvefur <zash@zash.se>
date Sun, 12 Sep 2021 11:46:32 +0200
parent 11782:d93107de52dd
child 11798:ba88060fa145
comparison
equal deleted inserted replaced
11782:d93107de52dd 11783:7bf246e6792b
722 end 722 end
723 print("") 723 print("")
724 end 724 end
725 -- intentionally not doing this by default 725 -- intentionally not doing this by default
726 if what == "connectivity" then 726 if what == "connectivity" then
727 print(is_prosody_running())
728 local _, prosody_is_running = is_prosody_running(); 727 local _, prosody_is_running = is_prosody_running();
729 if configmanager.get("*", "pidfile") and not prosody_is_running then 728 if configmanager.get("*", "pidfile") and not prosody_is_running then
730 print("Prosody does not appear to be running, which is required for this test."); 729 print("Prosody does not appear to be running, which is required for this test.");
731 print("Start it and then try again."); 730 print("Start it and then try again.");
732 return 1; 731 return 1;