zfsboot: print boot.config contents before parsing it

as parsing can be a destructive operation

MFC after:	2 weeks
This commit is contained in:
Andriy Gapon 2011-12-04 21:32:18 +00:00
parent 05b096ff61
commit a3295a8b09

View File

@ -541,10 +541,10 @@ main(void)
}
if (*cmd) {
if (parse())
autoboot = 0;
if (!OPT_CHECK(RBX_QUIET))
printf("%s: %s", PATH_CONFIG, cmd);
if (parse())
autoboot = 0;
/* Do not process this command twice */
*cmd = 0;
}