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
ef2ed17f02
commit
3e5354d8c8
@ -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 New Issue
Block a user