1
0
Fork 0
mirror of https://github.com/yavook/kiwi-scp.git synced 2024-12-25 02:23:01 +00:00
This commit is contained in:
Jörn-Michael Miehe 2020-08-24 14:48:50 +02:00
parent 4407899fbb
commit 9c198622ca
2 changed files with 3 additions and 2 deletions

2
kiwi
View file

@ -72,7 +72,7 @@ done
if [ -f "./${KIWI_CONF_NAME}" ]; then
# determine needed kiwi-config version
re_version_line='version\s*:\s*'
eval "$(grep -E "${re_version_line}" "./${KIWI_CONF_NAME}" | sed -r 's/'"${re_version_line}"'/KIWI_VERSION=/')"
eval "$(grep -E "${re_version_line}" "./${KIWI_CONF_NAME}" | sed -r "s/${re_version_line}/KIWI_VERSION=/")"
fi
# install if kiwi-config not found

View file

@ -24,7 +24,8 @@ class Runner:
], check=True, stdout=subprocess.DEVNULL, stderr=subprocess.DEVNULL)
except subprocess.CalledProcessError:
raise PermissionError("Cannot access docker, please get into the docker group or run as root!")
logging.critical("Cannot access docker, please get into the docker group or run as root!")
quit(1)
# setup all subcommands
for className in subcommands.__all__: