From: Ian Kelling Date: Fri, 9 Sep 2016 22:01:32 +0000 (-0700) Subject: fix arg parsing X-Git-Url: https://iankelling.org/git/?p=basic-https-conf;a=commitdiff_plain;h=75fa1938d9e9bd00dfab294deac75b3a749e4929 fix arg parsing --- diff --git a/apache-site b/apache-site index 4550e85..a4f295a 100755 --- a/apache-site +++ b/apache-site @@ -62,9 +62,9 @@ while true; do done if (( ${#@} == 2 )); then - read extra_settings h <<<"${args[@]}" + read extra_settings h <<<"${@}" else - read h <<<"${args[@]}" + read h <<<"${@}" fi if [[ ! $h ]]; then