diff options
Diffstat (limited to 'functions/conffile.sh')
-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 42a87e708..aa12fc53d 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 |