diff options
Diffstat (limited to 'functions')
-rwxr-xr-x | functions/conffile.sh | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/functions/conffile.sh b/functions/conffile.sh index 42a87e7..aa12fc5 100755 --- a/functions/conffile.sh +++ b/functions/conffile.sh @@ -9,7 +9,7 @@ set -e -Read_conffile () +Get_conffiles () { if [ -n "${LH_CONFIG}" ] then @@ -24,7 +24,12 @@ Read_conffile () done fi - for CONFFILE in ${FILES} + echo ${FILES} +} + +Read_conffile () +{ + for CONFFILE in Get_conffiles "${@}" do if [ -f "${CONFFILE}" ] then |