Stage failed swap as warning
This commit is contained in:
parent
cb6e587f8b
commit
3624233e3f
|
@ -332,7 +332,7 @@ def main():
|
|||
call(["swapon",ipth("swap")])
|
||||
except Exception as e:
|
||||
print(e)
|
||||
print("Creating swap failed, skipping.")
|
||||
print("WARNING: Creating swap failed, skipping.")
|
||||
try:
|
||||
os.remove(ipth("swap"))
|
||||
except Exception:
|
||||
|
|
Loading…
Reference in New Issue