diff options
author | Jan Setje-Eilers <Jan.Setje-Eilers@Sun.COM> | 2010-03-15 16:21:34 -0700 |
---|---|---|
committer | Jan Setje-Eilers <Jan.Setje-Eilers@Sun.COM> | 2010-03-15 16:21:34 -0700 |
commit | 1ff15af9af2057a21a73cedc235f09941a75504b (patch) | |
tree | 8c77a1c62bf260d0f608830fb5b2c29b31a6c084 /usr/src/cmd/boot/installgrub/installgrub.c | |
parent | 53ee74637eb3ca802346e59313ac49683b6a9420 (diff) | |
download | illumos-joyent-1ff15af9af2057a21a73cedc235f09941a75504b.tar.gz |
6932358 installgrub needs to support extended partitions without forcing the use of the -m option
Diffstat (limited to 'usr/src/cmd/boot/installgrub/installgrub.c')
-rw-r--r-- | usr/src/cmd/boot/installgrub/installgrub.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/usr/src/cmd/boot/installgrub/installgrub.c b/usr/src/cmd/boot/installgrub/installgrub.c index c5bcbeb6ca..f1beaa473b 100644 --- a/usr/src/cmd/boot/installgrub/installgrub.c +++ b/usr/src/cmd/boot/installgrub/installgrub.c @@ -360,6 +360,7 @@ found_part: if (getchar() != 'y') { write_mboot = 0; (void) fprintf(stdout, MBOOT_NOT_UPDATED); + exit(-1); } } @@ -368,8 +369,7 @@ found_part: * write GRUB to the MBR. Check for this. */ if (log_part && !write_mboot) { - (void) fprintf(stderr, EXTSOLPAR); - exit(-1); + write_mboot = 1; } /* |