1
0
mirror of https://github.com/pi-hole/pi-hole synced 2025-02-07 13:42:40 +00:00

If it's a docker container, consider the OS is supported

Signed-off-by: RD WebDesign <github@rdwebdesign.com.br>
This commit is contained in:
RD WebDesign 2025-01-09 17:34:05 -03:00
parent bd9cc7cbb7
commit 733dce1c4c
No known key found for this signature in database
GPG Key ID: AE3C7FC910687F33

View File

@ -346,6 +346,9 @@ os_check() {
fi
done
# If it is a docker container, we can assume the OS is supported
[ -n "${DOCKER_VERSION}" ] && valid_os=true && valid_version=true
local finalmsg
if [ "$valid_os" = true ]; then
log_write "${TICK} Distro: ${COL_GREEN}${detected_os^}${COL_NC}"