Take a bit more obvious care in gedit() to restore original
authorkrw <krw@openbsd.org>
Fri, 11 Jun 2021 14:02:22 +0000 (14:02 +0000)
committerkrw <krw@openbsd.org>
Fri, 11 Jun 2021 14:02:22 +0000 (14:02 +0000)
commit320e14e35743196489e3b00741e897f5f6e98a8f
treeb85b4941bc401e49ef4d19c9dba842551d43cf6f
parent14cb48374db0f44c08c79786499e080581f1195e
Take a bit more obvious care in gedit() to restore original
partition information when one of the modification steps (e.g.
setting the partition type via gsetpid()) fails.
sbin/fdisk/cmd.c