Disable log flush on docker container
Signed-off-by: Christian König <github@yubiuser.dev>
This commit is contained in:
@@ -92,8 +92,12 @@ debugFunc() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
flushFunc() {
|
flushFunc() {
|
||||||
|
if [ -n "${DOCKER_VERSION}" ]; then
|
||||||
|
unsupportedFunc
|
||||||
|
else
|
||||||
"${PI_HOLE_SCRIPT_DIR}"/piholeLogFlush.sh "$@"
|
"${PI_HOLE_SCRIPT_DIR}"/piholeLogFlush.sh "$@"
|
||||||
exit 0
|
exit 0
|
||||||
|
fi
|
||||||
}
|
}
|
||||||
|
|
||||||
# Deprecated function, should be removed in the future
|
# Deprecated function, should be removed in the future
|
||||||
|
|||||||
Reference in New Issue
Block a user