From 70dbd1d0dd70d98725cdc1ec9e9655eb3d40baf2 Mon Sep 17 00:00:00 2001 From: Fincer Date: Tue, 13 Nov 2018 03:51:43 +0200 Subject: [PATCH] Change exit status of questions --- debian/updatewine_debian.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/debian/updatewine_debian.sh b/debian/updatewine_debian.sh index 76344ad..7bc05cf 100644 --- a/debian/updatewine_debian.sh +++ b/debian/updatewine_debian.sh @@ -148,7 +148,7 @@ questionresponse if [[ $? -ne 0 ]]; then echo -e "Cancelling.\n" - exit 2 + exit 1 fi #################### @@ -169,7 +169,7 @@ Do you really want to continue? [Y/n]" if [[ $? -ne 0 ]]; then echo -e "Cancelling.\n" - exit 2 + exit 1 fi unset AVAIL_SPACE REC_SPACE