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