mirror of
https://github.com/pi-hole/pi-hole
synced 2024-12-22 06:48:07 +00:00
Use printf instead of echo
Co-Authored-By: Mcat12 <mark.drobnak@gmail.com>
This commit is contained in:
parent
5d0d7336ff
commit
c270b83341
@ -1035,7 +1035,7 @@ setPrivacyLevel() {
|
||||
# Get the user's choice
|
||||
PRIVACY_LEVEL=$("${LevelCommand[@]}" "${LevelOptions[@]}" 2>&1 >/dev/tty) || (echo -e " ${COL_LIGHT_RED}Cancel was selected, exiting installer${COL_NC}" && exit 1)
|
||||
|
||||
echo -e " ${INFO} Privacy level ${PRIVACY_LEVEL}"
|
||||
printf " %b Privacy level %d" "${INFO}" "${PRIVACY_LEVEL}"
|
||||
}
|
||||
|
||||
# Function to ask the user if they want to install the dashboard
|
||||
|
Loading…
Reference in New Issue
Block a user