Use printf instead of echo
Co-Authored-By: Mcat12 <mark.drobnak@gmail.com>
This commit is contained in:
@ -1035,7 +1035,7 @@ setPrivacyLevel() {
|
|||||||
# Get the user's choice
|
# 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)
|
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
|
# Function to ask the user if they want to install the dashboard
|
||||||
|
Reference in New Issue
Block a user