diff options
author | jkh <jkh@FreeBSD.org> | 1994-11-21 07:33:21 +0000 |
---|---|---|
committer | jkh <jkh@FreeBSD.org> | 1994-11-21 07:33:21 +0000 |
commit | db0cb9337ba23857c0b8dc90ca6144c1458f95c0 (patch) | |
tree | 4e0b4364222f4c2b646014f4442afbd05858a7ec /release | |
parent | fc61cb3f6e3e5b0d120096b05592f01fc397ba1d (diff) | |
download | FreeBSD-src-db0cb9337ba23857c0b8dc90ca6144c1458f95c0.zip FreeBSD-src-db0cb9337ba23857c0b8dc90ca6144c1458f95c0.tar.gz |
Make abort just abort, not ask. Dialog's internal state is hosed at that
point anyway by re-entrancy.
Diffstat (limited to 'release')
-rw-r--r-- | release/miscfuncs.sh | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/release/miscfuncs.sh b/release/miscfuncs.sh index a343f0b..7867540 100644 --- a/release/miscfuncs.sh +++ b/release/miscfuncs.sh @@ -10,7 +10,7 @@ # putting your name on top after doing something trivial like reindenting # it, just to make it look like you wrote it!). # -# $Id: miscfuncs.sh,v 1.7 1994/11/21 04:35:24 jkh Exp $ +# $Id: miscfuncs.sh,v 1.8 1994/11/21 06:45:01 jkh Exp $ if [ "$_MISCFUNCS_SH_LOADED_" = "yes" ]; then return 0 @@ -41,10 +41,9 @@ X11SIZE="50MB" interrupt() { - if dialog --clear --title "User Interrupt Requested" \ - --yesno "Do you wish to abort the installation?" -1 -1; then - exit 0; - fi + dialog --clear --title "User Interrupt Requested" \ + --msgbox "\n ** Aborting the installation ** \n" -1 -1 + exit 0; } # Handle the return value from a dialog, doing some pre-processing |