Return exit code 0 after wiping a corrupted disk partition table
First apply operations capable of recovering a corrupted disk. If partitions are readable after this step then continue with other operations.
Change sgdisk to return exit code 0 when wipe disk operation succeed with a corrupted disk
Change sgdisk to return exit code 0 when wipe disk operation succeed with a corrupted disk
only return exit code 2 if disk wipe failed