exit status
This commit is contained in:
parent
a085586baa
commit
d99f26e3cf
3 changed files with 4 additions and 4 deletions
|
@ -31,7 +31,8 @@ def main():
|
|||
set_verbosity(logging.getLogger(), log_handler, kiwi.verbosity())
|
||||
|
||||
# run the app
|
||||
kiwi.run()
|
||||
if not kiwi.run():
|
||||
quit(1)
|
||||
|
||||
|
||||
if __name__ == "__main__":
|
||||
|
|
|
@ -11,7 +11,7 @@ def verbosity():
|
|||
|
||||
def run():
|
||||
# pass down
|
||||
Runner().run()
|
||||
return Runner().run()
|
||||
|
||||
|
||||
__all__ = [
|
||||
|
|
|
@ -29,7 +29,7 @@ class InitCommand(SubCommand):
|
|||
def __init__(self):
|
||||
super().__init__(
|
||||
'init',
|
||||
action="Creating",
|
||||
action=f"Initializing '{KIWI_CONF_NAME}' in",
|
||||
description="Create a new kiwi-config instance"
|
||||
)
|
||||
|
||||
|
@ -41,7 +41,6 @@ class InitCommand(SubCommand):
|
|||
)
|
||||
|
||||
def _run_instance(self, runner, args):
|
||||
logging.info(f"Initializing '{KIWI_CONF_NAME}' in '{os.getcwd()}'")
|
||||
config = LoadedConfig.get()
|
||||
|
||||
# check force switch
|
||||
|
|
Loading…
Reference in a new issue