summaryrefslogtreecommitdiff
path: root/python/vyos/util.py
diff options
context:
space:
mode:
authorJohn Estabrook <jestabro@vyos.io>2020-04-27 14:32:06 -0500
committerJohn Estabrook <jestabro@vyos.io>2020-04-27 14:32:06 -0500
commit83eea4284a61a70e62252e7ce21728ddaa4b206b (patch)
tree6afca5eb719ba6f1b166952aaafe05b6a65f2245 /python/vyos/util.py
parent0afd4e113a00394806b8d195cc8eba47928dbd31 (diff)
downloadvyos-1x-83eea4284a61a70e62252e7ce21728ddaa4b206b.tar.gz
vyos-1x-83eea4284a61a70e62252e7ce21728ddaa4b206b.zip
template: T2388: fix typo
Diffstat (limited to 'python/vyos/util.py')
-rw-r--r--python/vyos/util.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/python/vyos/util.py b/python/vyos/util.py
index 307decc87..92b6f7992 100644
--- a/python/vyos/util.py
+++ b/python/vyos/util.py
@@ -262,7 +262,7 @@ def chmod_755(path):
def makedir(path, user=None, group=None):
- if not os.path.exists(path):
+ if os.path.exists(path):
return
os.mkdir(path)
chown(path, user, group)