zfsboot: print boot.config contents before parsing it
as parsing can be a destructive operation MFC after: 2 weeks
This commit is contained in:
parent
05b096ff61
commit
a3295a8b09
@ -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;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user