Commit 22e99659 by Ned Batchelder

Fix the syntax on the double-bracketed condition

parent c7c600e8
......@@ -57,7 +57,7 @@ done
confirm_proceed () {
echo "Do you wish to proceed?"
read input
if [[ "$input" != "yes" -a "$input" != "y" ]]; then
if [[ "$input" != "yes" && "$input" != "y" ]]; then
echo "Quitting"
exit 1
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