mirror of
https://git.FreeBSD.org/src.git
synced 2025-01-11 14:10:34 +00:00
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
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=228267
@ -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