summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rwxr-xr-xsrc/conf_mode/dhcpv6_relay.py2
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