mirror of
https://github.com/pi-hole/pi-hole.git
synced 2025-04-03 06:00:22 +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:
parent
bd9cc7cbb7
commit
733dce1c4c
1 changed files with 3 additions and 0 deletions
|
@ -346,6 +346,9 @@ os_check() {
|
||||||
fi
|
fi
|
||||||
done
|
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
|
local finalmsg
|
||||||
if [ "$valid_os" = true ]; then
|
if [ "$valid_os" = true ]; then
|
||||||
log_write "${TICK} Distro: ${COL_GREEN}${detected_os^}${COL_NC}"
|
log_write "${TICK} Distro: ${COL_GREEN}${detected_os^}${COL_NC}"
|
||||||
|
|
Loading…
Add table
Reference in a new issue