diff --git a/crmsh/ui_configure.py b/crmsh/ui_configure.py index 4700cd159..1a6b7eed3 100644 --- a/crmsh/ui_configure.py +++ b/crmsh/ui_configure.py @@ -978,7 +978,8 @@ def do_upgrade(self, context, force=None): @command.completers(schema_completer) def do_schema(self, context, schema_st=None): "usage: schema []" - if not schema_st: + utils.load_cib_file_env() + if not schema_st and cib_factory.is_cib_sane(): print(cib_factory.get_schema()) return True return cib_factory.change_schema(schema_st)