Do not wipe partition signature if the partition is not going to be formatted
This commit is contained in:
parent
ac8a9404f9
commit
0f6e3a4fc6
@ -203,8 +203,9 @@ def main():
|
||||
time.sleep(5)
|
||||
print("")
|
||||
|
||||
print("> Wiping partition signature ...")
|
||||
call(["wipefs","-a",installPartition])
|
||||
if formatPartition != None:
|
||||
print("> Wiping partition signature ...")
|
||||
call(["wipefs","-a",installPartition])
|
||||
|
||||
if encrypt:
|
||||
print("> Encrypting partition ...")
|
||||
|
Loading…
Reference in New Issue
Block a user