diff --git a/usr/bin/archboot-tz.sh b/usr/bin/archboot-tz.sh index 56d980373..620a40b40 100755 --- a/usr/bin/archboot-tz.sh +++ b/usr/bin/archboot-tz.sh @@ -108,7 +108,7 @@ _dotimeset() { _CONTINUE="" while [[ -z "${_CONTINUE}" ]]; do # display and ask to set date/time - if dialog --calendar "Set the date.\nUse to navigate and arrow keys to change values." 0 0 0 0 0 2> ${_ANSWER}; then + if _dialog --title ' Date Setting' --calendar "Set the date.\nUse to navigate and arrow keys to change values." 0 0 0 0 0 2> ${_ANSWER}; then _DATE="$(cat ${_ANSWER})" _CONTINUE=1 else @@ -117,7 +117,7 @@ _dotimeset() { done _CONTINUE="" while [[ -z "${_CONTINUE}" ]]; do - if dialog --title ' Time Setting ' --timebox "Use to navigate and up/down to change values." 0 0 2> ${_ANSWER}; then + if _dialog --title ' Time Setting ' --timebox "Use to navigate and up/down to change values." 0 0 2> ${_ANSWER}; then _TIME="$(cat ${_ANSWER})" _CONTINUE=1 else