summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rwxr-xr-xsrc/conf_mode/interfaces-openvpn.py4
1 files changed, 0 insertions, 4 deletions
diff --git a/src/conf_mode/interfaces-openvpn.py b/src/conf_mode/interfaces-openvpn.py
index e4360ce56..c1c108aa5 100755
--- a/src/conf_mode/interfaces-openvpn.py
+++ b/src/conf_mode/interfaces-openvpn.py
@@ -919,10 +919,6 @@ def verify(openvpn):
def generate(openvpn):
if openvpn['deleted'] or openvpn['disable']:
- # delete old auth file if present
- if os.path.isfile(openvpn['auth_user_pass_file']):
- os.remove(openvpn['auth_user_pass_file'])
-
return None
interface = openvpn['intf']