This commit is contained in:
Ohio2 2021-08-26 15:03:00 +02:00
parent 64de631b3f
commit 3967b897df

3
aps
View file

@ -29,8 +29,7 @@ confirm(){
read prompt read prompt
if [[ ${prompt} = [nN] ]]; then if [[ ${prompt} = [nN] ]]; then
die "User said no. Exiting..." die "User said no. Exiting..."
elif [[ ${prompt} = [yY] ]]; then elif [[ ${prompt} != [yY] ]]; then
else
die "User gave invalid input. Exiting..." die "User gave invalid input. Exiting..."
fi fi
} }