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