Skip to content

Commit

Permalink
Merge pull request #90 from Jayy001/Eeems-patch-1
Browse files Browse the repository at this point in the history
Clarify error message
  • Loading branch information
Eeems authored Jun 25, 2024
2 parents 5c9ce95 + 4f98ec4 commit 70fce66
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions codexctl/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -475,7 +475,7 @@ def do_install(args, device_type):
env={"PATH": "/bin:/usr/bin:/sbin"},
)
else:
print("Checking if device can reach server")
print("Checking if device can connect to this machine")
_stdin, stdout, _stderr = remarkable_remote.exec_command(
f"sleep 2 && echo | nc {server_host} 8080"
)
Expand All @@ -484,7 +484,7 @@ def do_install(args, device_type):
logger.debug(f"Stdout of nc checking: {stdout.readlines()}")
if check != 0:
raise SystemExit(
"Device cannot reach server! Is the firewall blocking connections?"
"Device cannot connect to this machine! Is the firewall blocking connections?"
)

print("Starting update service on device")
Expand Down

0 comments on commit 70fce66

Please sign in to comment.