From 75fa1938d9e9bd00dfab294deac75b3a749e4929 Mon Sep 17 00:00:00 2001 From: Ian Kelling Date: Fri, 9 Sep 2016 15:01:32 -0700 Subject: [PATCH] fix arg parsing --- apache-site | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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 -- 2.30.2