summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--partIntfHelpers.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/partIntfHelpers.py b/partIntfHelpers.py
index aec10fe8c..71d5f548e 100644
--- a/partIntfHelpers.py
+++ b/partIntfHelpers.py
@@ -81,7 +81,7 @@ def sanityCheckMountPoint(mntpt, fstype, preexisting):
else:
if mntpt[0] != '/' or (len(mntpt) > 1 and mntpt[-1:] == '/'):
passed = 0
- elif mntpt.find(' ') > -1:
+ elif mntpt.find(' ') > -1 or mntpt.find('.') > -1:
passed = 0
if not passed: