RETURN VALUES
sgdisk returns various values depending on its success or failure:
0 Normal program execution
1 Too few arguments
2 An error occurred while reading the partition table
3 Non-GPT disk detected and no -g option, but operation requires a write action
4 An error prevented saving changes
5 An error occurred while reading standard input (should never occur with sgdisk, but may with gdisk)
8 Disk replication operation (-R) failed