diff --git a/chia/timelord/timelord_launcher.py b/chia/timelord/timelord_launcher.py index 89df71d5748a..93cf657eab72 100644 --- a/chia/timelord/timelord_launcher.py +++ b/chia/timelord/timelord_launcher.py @@ -175,7 +175,7 @@ async def stop( 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())