diff --git a/cisco-port-failover.py b/cisco-port-failover.py index 292fe65..7d8aeb6 100644 --- a/cisco-port-failover.py +++ b/cisco-port-failover.py @@ -346,6 +346,7 @@ if __name__ == "__main__": ) for address in args['check']: if Do.ping(host=address): + logging.info(msg='target hosts are available. Nothing to do.') break else: iface_states = {'old': {}, 'new': {}}