Browse Source

Change exit status of questions

master
Fincer 6 years ago
parent
commit
70dbd1d0dd
1 changed files with 2 additions and 2 deletions
  1. +2
    -2
      debian/updatewine_debian.sh

+ 2
- 2
debian/updatewine_debian.sh View File

@ -148,7 +148,7 @@ questionresponse
if [[ $? -ne 0 ]]; then if [[ $? -ne 0 ]]; then
echo -e "Cancelling.\n" echo -e "Cancelling.\n"
exit 2
exit 1
fi fi
#################### ####################
@ -169,7 +169,7 @@ Do you really want to continue? [Y/n]"
if [[ $? -ne 0 ]]; then if [[ $? -ne 0 ]]; then
echo -e "Cancelling.\n" echo -e "Cancelling.\n"
exit 2
exit 1
fi fi
unset AVAIL_SPACE REC_SPACE unset AVAIL_SPACE REC_SPACE


Loading…
Cancel
Save