From 8b2531dd1149945ddbdd1c9432a2ef0cd04c1aa4 Mon Sep 17 00:00:00 2001 From: "Antonio J. Delgado" Date: Sat, 20 Jan 2024 20:35:10 +0200 Subject: [PATCH] Add exis --- odi6/odi6.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/odi6/odi6.py b/odi6/odi6.py index 8ea17a1..986933f 100755 --- a/odi6/odi6.py +++ b/odi6/odi6.py @@ -171,9 +171,10 @@ same target, doing nothing.""" ) except KeyError: self._log.error( - "Not enough interfaces?. %s", + "Not enough interfaces? %s", iface ) + sys.exit(1) elif self.config['ip_method'] == 'web': s = requests.Session() result = s.get(self.config['web_service_url'])