util/prosodyctl/check.lua
changeset 11786 d93107de52dd
parent 11784 98ae95235775
child 11787 7bf246e6792b
equal deleted inserted replaced
11785:9c23e7c8a67a 11786: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