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:
parent
0ac03b6150
commit
0a8c693476
2
build/get_container_id.sh
Executable file → Normal file
2
build/get_container_id.sh
Executable file → Normal 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"
|
||||
|
Loading…
Reference in New Issue
Block a user