add debug and confirm #9
1 changed files with 2 additions and 3 deletions
3
aps
3
aps
|
@ -29,8 +29,7 @@ confirm(){
|
|||
read prompt
|
||||
if [[ ${prompt} = [nN] ]]; then
|
||||
die "User said no. Exiting..."
|
||||
elif [[ ${prompt} = [yY] ]]; then
|
||||
else
|
||||
elif [[ ${prompt} != [yY] ]]; then
|
||||
die "User gave invalid input. Exiting..."
|
||||
fi
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue