--- trunk/grubby/grubby.c 2012/02/18 00:35:46 1715 +++ trunk/grubby/grubby.c 2012/02/18 00:47:17 1717 @@ -3365,7 +3365,7 @@ defaultKernel = NULL; } - if (!strcmp(grubConfig, "-") && !outputFile) { + if (grubConfig && !strcmp(grubConfig, "-") && !outputFile) { fprintf(stderr, _("grubby: output file must be specified if stdin " "is used\n")); return 1;