diff --git a/pkg/scheduler.py b/pkg/scheduler.py index e0c1079..a98ee7e 100644 --- a/pkg/scheduler.py +++ b/pkg/scheduler.py @@ -84,7 +84,7 @@ class ifaceScheduler(): err = 0 # error can be ignored by log_error, in which case # reset err flag finally: - if err: + if err or ifaceobj.status == ifaceStatus.ERROR: ifaceobj.set_state_n_status(ifaceState.from_str(op), ifaceStatus.ERROR) if 'up' in op or 'down' in op: