diff options
Diffstat (limited to 'python')
| -rw-r--r-- | python/vyos/ifconfig/wwan.py | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/python/vyos/ifconfig/wwan.py b/python/vyos/ifconfig/wwan.py index adb6764d2..8dd10b60d 100644 --- a/python/vyos/ifconfig/wwan.py +++ b/python/vyos/ifconfig/wwan.py @@ -286,9 +286,6 @@ class WWANIf(Interface): # A client which cannot get a lease keeps restarting and is never # "active", which stop_systemd_unit() would leave alone - state = cmdl(['systemctl', 'show', '--value', '-p', 'ActiveState', unit]) - if state not in ('active', 'activating', 'reloading'): - return None try: cmdl(['systemctl', 'stop', unit]) except OSError: |
