diff --git a/meshtastic/__main__.py b/meshtastic/__main__.py index a18b408e..d7a282f5 100644 --- a/meshtastic/__main__.py +++ b/meshtastic/__main__.py @@ -779,6 +779,7 @@ def setSimpleConfig(modem_preset): except Exception as ex: print(f"Aborting due to: {ex}") interface.close() # close the connection now, so that our app exits + sys.exit(1) def printConfig(config):