From 8d189ba9e904b6cf28782d4f477764b18aff2e2c Mon Sep 17 00:00:00 2001 From: Christian Poessinger Date: Mon, 13 Apr 2020 12:37:17 +0200 Subject: 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. --- src/conf_mode/dhcpv6_relay.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/conf_mode') 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 -- cgit v1.2.3