From 521689adb03b9c9db39843112e3326bb5f8e6df6 Mon Sep 17 00:00:00 2001 From: Patrick Schleizer Date: Wed, 25 Oct 2023 13:15:14 -0400 Subject: [PATCH] adjust use of `dialog` for new error handling method --- grml-debootstrap | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/grml-debootstrap b/grml-debootstrap index 55bb68c..759deae 100755 --- a/grml-debootstrap +++ b/grml-debootstrap @@ -1050,8 +1050,7 @@ elif [ -n "$INTERACTIVE" ] ; then Is this ok for you? Notice: selecting 'No' will exit ${PN}." dialog --title "$PN" --no-collapse \ - --yesno "$INFOTEXT" 0 0 - [ $? -eq 0 ] || bailout 0 + --yesno "$INFOTEXT" 0 0 || bailout 0 else # if not running automatic installation display configuration and prompt for execution: einfo "$PN [${VERSION}] - Please recheck configuration before execution:" -- 2.1.4