fix arg parsing
[basic-https-conf] / apache-site
index 4550e85f5b55ee15eba1617444f4e6ceafdc1ec6..a4f295ac68f0bd9de1e0981085e6e667c890eaff 100755 (executable)
@@ -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