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'])