mirror of
https://github.com/Chia-Network/chia-blockchain.git
synced 2026-08-24 10:05:29 -05:00
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:
@@ -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())
|
||||
|
||||
Reference in New Issue
Block a user