diff --git a/kas/plugins/for_all_repos.py b/kas/plugins/for_all_repos.py index d9374bc..7ec977c 100644 --- a/kas/plugins/for_all_repos.py +++ b/kas/plugins/for_all_repos.py @@ -55,6 +55,7 @@ import logging import subprocess +import sys from kas.context import create_global_context from kas.config import Config from kas.libcmds import Macro, Command @@ -105,6 +106,7 @@ class ForAllReposCommand(Command): env=env) if retcode != 0: logging.error('Command failed with return code %d', retcode) + sys.exit(retcode) __KAS_PLUGINS__ = [ForAllRepos]