change exit method in rncp

resolves issue #959, and aligns the exit method used with that in rnx.
This commit is contained in:
Nikolai Vincent Vaags 2025-11-03 21:34:48 +01:00
parent a699d7c110
commit 8a8f32cd3f

View file

@ -104,7 +104,7 @@ def listen(configdir, verbosity = 0, quietness = 0, allowed = [], display_identi
if display_identity: if display_identity:
print("Identity : "+str(identity)) print("Identity : "+str(identity))
print("Listening on : "+RNS.prettyhexrep(destination.hash)) print("Listening on : "+RNS.prettyhexrep(destination.hash))
RNS.exit(0) exit(0)
if disable_auth: if disable_auth:
allow_all = True allow_all = True