1
0
mirror of https://github.com/falk-werner/webfuse synced 2024-10-27 20:34:10 +00:00

fixes return code on error

This commit is contained in:
nosamad 2019-03-29 00:04:25 +01:00
parent 0ac03b6150
commit 0a8c693476

2
build/get_container_id.sh Executable file → Normal file
View File

@ -33,7 +33,7 @@ impl_container_id_by_cgroup() {
DOCKER="${DOCKER:-docker}"
if [ -z "${CONTAINER+x}" ] && [ -n "$DOCKER" ]; then
CONTAINER="$(container_id "$@")" || true
CONTAINER="$(container_id "$@")"
fi
echo "$CONTAINER"