Do not wipe partition signature if the partition is not going to be formatted

This commit is contained in:
Fierelier 2023-01-28 02:21:56 +01:00
parent ac8a9404f9
commit 0f6e3a4fc6

View File

@ -203,8 +203,9 @@ def main():
time.sleep(5) time.sleep(5)
print("") print("")
print("> Wiping partition signature ...") if formatPartition != None:
call(["wipefs","-a",installPartition]) print("> Wiping partition signature ...")
call(["wipefs","-a",installPartition])
if encrypt: if encrypt:
print("> Encrypting partition ...") print("> Encrypting partition ...")