Release 10.0.0 #100
|
@ -54,7 +54,7 @@ check_server() {
|
||||||
config_var() {
|
config_var() {
|
||||||
variable=$1
|
variable=$1
|
||||||
file=$2
|
file=$2
|
||||||
test -f "${file}" && grep -E "^${variable}\s+.+$" "${file}" | awk '{ print $2 }'
|
test -f "${file}" && grep -E "^${variable}\s+.+$" "${file}" | awk '{ print $2 }' | sed -e "s/^[\"']//" -e "s/[\"']$//"
|
||||||
}
|
}
|
||||||
|
|
||||||
# default instance
|
# default instance
|
||||||
|
|
Loading…
Reference in a new issue