minor change
This commit is contained in:
parent
893220be95
commit
7713e7e39d
@ -37,7 +37,7 @@ copy () {
|
|||||||
readarray -td' ' files <<< "$1"
|
readarray -td' ' files <<< "$1"
|
||||||
for f in ${files[@]}; do
|
for f in ${files[@]}; do
|
||||||
if grep -qE "^.*[.]conf.*$" <<< ${f}; then
|
if grep -qE "^.*[.]conf.*$" <<< ${f}; then
|
||||||
local __f="${psa_config}/${f}"
|
local __f="${psa_config_dir}/${f}"
|
||||||
if ! cp ${__f} /etc/psa_config; then
|
if ! cp ${__f} /etc/psa_config; then
|
||||||
log_error "$func:${LINENO}: cannot cp ${__f} /etc/psa_config"
|
log_error "$func:${LINENO}: cannot cp ${__f} /etc/psa_config"
|
||||||
return 1
|
return 1
|
||||||
|
Loading…
Reference in New Issue
Block a user