Skip to content
This repository has been archived by the owner on Aug 30, 2024. It is now read-only.

Commit

Permalink
Make failure to find grub-install on NC non-fatal
Browse files Browse the repository at this point in the history
In scenarios where grub is not required, grub-install is also
not required.

Fixes EUCA-3470
  • Loading branch information
a13m committed Sep 17, 2012
1 parent ec36ec8 commit c6d207b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion storage/diskutil.c
Original file line number Diff line number Diff line change
Expand Up @@ -182,7 +182,7 @@ int diskutil_init (int require_grub) // 0 = not required, 1 = required
// flag missing handlers
if (missing_handlers) {
for (int i=0; i<LASTHELPER; i++) {
if (helpers_path [i] == NULL && i!=GRUB && i!=GRUB_SETUP) {
if (helpers_path [i] == NULL && i!=GRUB && i!=GRUB_SETUP && i!=GRUB_INSTALL) {
logprintfl (EUCAERROR, "ERROR: missing a required handler: %s\n", helpers[i]);
ret = 1;
}
Expand Down

0 comments on commit c6d207b

Please sign in to comment.