Skip to content

Commit

Permalink
Error only on non-zero return code
Browse files Browse the repository at this point in the history
  • Loading branch information
JackieChain committed Feb 13, 2024
1 parent 6ab166a commit 5702707
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion start_aks_bsv.py
Original file line number Diff line number Diff line change
Expand Up @@ -262,7 +262,7 @@ def wait_for_rpc_connection(self, process):
for _ in range(self.timeout):
# Check if process (either ssh or bitcoind) already terminated while waiting for the RPC connection
return_code = process.process.poll()
if return_code is not None:
if return_code is not None and return_code != 0:
command = self.command
if self.ssh:
command = self.ssh.ssh_command + command
Expand Down

0 comments on commit 5702707

Please sign in to comment.