Fix swap unmount

This commit is contained in:
Fierelier 2023-07-21 08:25:50 +02:00
parent 29891487c4
commit 266b9c6317
1 changed files with 1 additions and 0 deletions

View File

@ -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.")