1
0
mirror of https://github.com/pi-hole/pi-hole synced 2024-12-22 14:58:08 +00:00

Use printf instead of echo

Co-Authored-By: Mcat12 <mark.drobnak@gmail.com>
This commit is contained in:
Dan Schaper 2018-11-01 15:14:26 -04:00 committed by GitHub
parent 5d0d7336ff
commit c270b83341
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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