Skip to content

Commit

Permalink
make timeloard launcher fail with a non-zero exit code on windows (#1…
Browse files Browse the repository at this point in the history
…8814)

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

* Update timelord_launcher.py
  • Loading branch information
altendky authored Nov 4, 2024
1 parent 6a0344f commit 2b19c28
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions chia/timelord/timelord_launcher.py
Original file line number Diff line number Diff line change
Expand Up @@ -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")
Expand All @@ -186,4 +186,4 @@ def main():


if __name__ == "__main__":
main()
sys.exit(main())

0 comments on commit 2b19c28

Please sign in to comment.