From 1b1a7fd7ead3ffbc307c257a632ac16c7b06b340 Mon Sep 17 00:00:00 2001 From: Tobias Powalowski Date: Fri, 14 Jul 2023 12:38:07 +0200 Subject: [PATCH] remove line --- usr/bin/archboot-clock.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/usr/bin/archboot-clock.sh b/usr/bin/archboot-clock.sh index 6bca8875d..3e496de54 100755 --- a/usr/bin/archboot-clock.sh +++ b/usr/bin/archboot-clock.sh @@ -129,12 +129,12 @@ _dotimeset() { timedatectl set-time "${_DATETIME}" _SET_TIME="1" fi - if _dialog --cr-wrap --defaultno --yesno "Your current time and date is:\n$(${_DATE_PROGRAM})\n\nDo you want to change it?" 0 0; then - _SET_TIME="" - else + if _dialog --cr-wrap --title " Confirmation Dialog " --yesno "$(${_DATE_PROGRAM})" 0 0; then _dialog --infobox "Clock configuration completed successfully." 3 50 sleep 3 return 0 + else + _SET_TIME="" fi done }