Skip to content

Commit 514dc01

Browse files
authored
Merge pull request pi-hole#3597 from yubiuser/tweak/OS_detection
Adds OS and version to output if unsupported OS is detected
2 parents dffb58a + 8380112 commit 514dc01

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

automated install/basic-install.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -214,7 +214,7 @@ os_check() {
214214
fi
215215

216216
if [ "$display_warning" = true ]; then
217-
printf " %b %bUnsupported OS detected%b\\n" "${CROSS}" "${COL_LIGHT_RED}" "${COL_NC}"
217+
printf " %b %bUnsupported OS detected: %s%b\\n" "${CROSS}" "${COL_LIGHT_RED}" "${detected_os_pretty}" "${COL_NC}"
218218
printf " https://docs.pi-hole.net/main/prerequesites/#supported-operating-systems\\n"
219219
printf "\\n"
220220
printf " e.g: If you are seeing this message on a fresh install, you can run:\\n"

0 commit comments

Comments
 (0)