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)
|
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 ...")
|
||||||
|
Loading…
Reference in New Issue
Block a user