diff options
author | nachoparker <nacho@ownyourbits.com> | 2017-04-27 19:19:15 +0300 |
---|---|---|
committer | nachoparker <nacho@ownyourbits.com> | 2017-04-27 19:49:28 +0300 |
commit | 8200602ee5d4260be00a69c17b1a781068a5fb5e (patch) | |
tree | a0e807bdc668a232b0bd8b9fd0ce54ee033c8f50 /etc/library.sh | |
parent | be2e4e610b3873f89672b2930541058461c9e11d (diff) |
dont ask for confirmation on exiting configv0.8.3
Diffstat (limited to 'etc/library.sh')
-rwxr-xr-x | etc/library.sh | 16 |
1 files changed, 2 insertions, 14 deletions
diff --git a/etc/library.sh b/etc/library.sh index a3330fce..aeb5fd97 100755 --- a/etc/library.sh +++ b/etc/library.sh @@ -162,19 +162,8 @@ function config() case $RET in $DIALOG_CANCEL) - dialog \ - --no-lines --clear \ - --backtitle "$BACKTITLE" \ - --yesno "Really quit?" 10 30 - case $? in - $DIALOG_OK) - echo "Aborted" - return 1 - ;; - $DIALOG_CANCEL) - RET=99 - ;; - esac + echo "Aborted" + return 1 ;; $DIALOG_OK) local RET=( $value ) @@ -203,7 +192,6 @@ function config() [[ "$CFGOUT" != "" ]] && echo -e "$CONFIG" > "$CFGOUT" } - function install_script() { ( |