Comparison

util/prosodyctl/check.lua @ 11782:d93107de52dd

util.prosodyctl.check: Ignore unused "ok" variable [luacheck]
author Kim Alvefur <zash@zash.se>
date Sun, 12 Sep 2021 01:48:51 +0200
parent 11780:98ae95235775
child 11783:7bf246e6792b
comparison
equal deleted inserted replaced
11781:9c23e7c8a67a 11782:d93107de52dd
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()) 727 print(is_prosody_running())
728 local ok, prosody_is_running = is_prosody_running(); 728 local _, prosody_is_running = is_prosody_running();
729 if configmanager.get("*", "pidfile") and not prosody_is_running then 729 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."); 730 print("Prosody does not appear to be running, which is required for this test.");
731 print("Start it and then try again."); 731 print("Start it and then try again.");
732 return 1; 732 return 1;
733 end 733 end