make timeloard launcher fail with a non-zero exit code on windows (#18814)

* make timeloard launcher fail with a non-zero exit code on windows

* Update timelord_launcher.py
This commit is contained in:
Kyle Altendorf
2024-11-04 12:35:05 -07:00
committed by GitHub
parent 6a0344fb0b
commit 2b19c289a9
+2 -2
View File
@@ -175,7 +175,7 @@ async def async_main(config: dict[str, Any], net_config: dict[str, Any]) -> None
def main():
if os.name == "nt":
log.info("Timelord launcher not supported on Windows.")
return
return 1
root_path = DEFAULT_ROOT_PATH
setproctitle("chia_timelord_launcher")
net_config = load_config(root_path, "config.yaml")
@@ -186,4 +186,4 @@ def main():
if __name__ == "__main__":
main()
sys.exit(main())