mirror of
https://github.com/opnsense/src.git
synced 2026-05-28 04:12:45 -04:00
Allow standard commands for "unknown" classes in RESCUE mode.
For example, it allows quite useful `geom disk list` command. MFC after: 1 week
This commit is contained in:
parent
ffc161df9f
commit
c66784839b
1 changed files with 1 additions and 2 deletions
|
|
@ -635,8 +635,7 @@ get_class(int *argc, char ***argv)
|
|||
} else if (!strcasecmp(class_name, "label")) {
|
||||
version = &glabel_version;
|
||||
class_commands = glabel_class_commands;
|
||||
} else
|
||||
errx(EXIT_FAILURE, "Invalid class name.");
|
||||
}
|
||||
#endif /* !STATIC_GEOM_CLASSES */
|
||||
|
||||
set_class_name();
|
||||
|
|
|
|||
Loading…
Reference in a new issue