Fix swap unmount
This commit is contained in:
parent
29891487c4
commit
266b9c6317
|
@ -330,6 +330,7 @@ def main():
|
|||
call(["chmod","0600",ipth("swap")])
|
||||
call(["mkswap",ipth("swap")])
|
||||
call(["swapon",ipth("swap")])
|
||||
hasSwap = True
|
||||
except Exception as e:
|
||||
print(e)
|
||||
print("WARNING: Creating swap failed, skipping.")
|
||||
|
|
Loading…
Reference in New Issue