Disable log flush on docker container

Signed-off-by: Christian König <github@yubiuser.dev>
This commit is contained in:
Christian König
2025-08-18 20:09:04 +02:00
parent c901aa1a2e
commit a734733a87
+4
View File
@@ -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