From f130cb470cada7591a05b25713e54adaa5ca94ac Mon Sep 17 00:00:00 2001 From: Peter Eckersley Date: Wed, 21 Oct 2015 10:58:36 -0700 Subject: [PATCH] Don't find "-v" in "--version" Fixes #1065 --- letsencrypt-auto | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/letsencrypt-auto b/letsencrypt-auto index 0b3d9b72d..7cba2ab92 100755 --- a/letsencrypt-auto +++ b/letsencrypt-auto @@ -18,7 +18,7 @@ fi for arg in "$@" ; do # This first clause is redundant with the third, but hedging on portability - if [ "$arg" = "-v" ] || [ "$arg" = "--verbose" ] || echo "$arg" | grep -E -- -v+ ; then + if [ "$arg" = "-v" ] || [ "$arg" = "--verbose" ] || echo "$arg" | grep -E -- "-v+$" ; then VERBOSE=1 fi done