diff options
author | Christian Poessinger <christian@poessinger.com> | 2020-04-13 12:37:17 +0200 |
---|---|---|
committer | Christian Poessinger <christian@poessinger.com> | 2020-04-13 12:37:17 +0200 |
commit | 8d189ba9e904b6cf28782d4f477764b18aff2e2c (patch) | |
tree | 5b39527c3434e71157058eb0407c308755848eff /src/conf_mode/dhcpv6_relay.py | |
parent | 5892d51d27cb91d4fe27ffbc6179d0fcd6473571 (diff) | |
download | vyos-1x-8d189ba9e904b6cf28782d4f477764b18aff2e2c.tar.gz vyos-1x-8d189ba9e904b6cf28782d4f477764b18aff2e2c.zip |
dhcpv6-relay: T2185: fix wrong call to os library
Commit 5892d51 ("dhcpv6-relay: T2185: migrate from SysVinit to systemd")
accidently called the non existent function os.file.exists instead of
os.path.exists.
Diffstat (limited to 'src/conf_mode/dhcpv6_relay.py')
-rwxr-xr-x | src/conf_mode/dhcpv6_relay.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/conf_mode/dhcpv6_relay.py b/src/conf_mode/dhcpv6_relay.py index 2954fa7e8..cb5a4bbfb 100755 --- a/src/conf_mode/dhcpv6_relay.py +++ b/src/conf_mode/dhcpv6_relay.py @@ -98,7 +98,7 @@ def apply(relay): else: # DHCPv6 relay support is removed in the commit call('systemctl stop isc-dhcp-relay6.service') - if os.file.exists(config_file): + if os.path.exists(config_file): os.unlink(config_file) return None |