Kaydet (Commit) 8b7e9b99 authored tarafından Fatih Aşıcı's avatar Fatih Aşıcı

Do not create /none directory for swap partitions

üst dfc93de6
......@@ -144,7 +144,7 @@ class Fstab:
# Make sure mount points exist
for entry in self.entries:
if not os.path.exists(entry.mount_point):
if entry.mount_point != "none" and not os.path.exists(entry.mount_point):
os.makedirs(entry.mount_point)
f = file(path, "w")
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment