Commit 22e99659 by Ned Batchelder

Fix the syntax on the double-bracketed condition

parent c7c600e8
...@@ -57,7 +57,7 @@ done ...@@ -57,7 +57,7 @@ done
confirm_proceed () { confirm_proceed () {
echo "Do you wish to proceed?" echo "Do you wish to proceed?"
read input read input
if [[ "$input" != "yes" -a "$input" != "y" ]]; then if [[ "$input" != "yes" && "$input" != "y" ]]; then
echo "Quitting" echo "Quitting"
exit 1 exit 1
fi fi
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment