diff options
author | Michael Boelen <michael.boelen@cisofy.com> | 2022-03-14 13:54:55 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-03-14 13:54:55 +0300 |
commit | 64758216f20bfb198ae45a258fb2bb9e8ecdbc45 (patch) | |
tree | 4490942f0973e25a044a19499313018e70eef24e /include/tests_logging | |
parent | 5cd4b239b58e53bfb7d0d9b57abaccc638c44bed (diff) | |
parent | 0664dea9469867c6e9ef1883ef5e44861902b776 (diff) |
Merge pull request #1271 from fizista/symlink_file
Allow symlinks to be used when searching for configuration files
Diffstat (limited to 'include/tests_logging')
-rw-r--r-- | include/tests_logging | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/tests_logging b/include/tests_logging index 7b3c203b..b6acdbe5 100644 --- a/include/tests_logging +++ b/include/tests_logging @@ -387,7 +387,7 @@ fi TARGET="${ROOTDIR}etc/rsyslog.d" if [ -d ${TARGET} ]; then - FILES=$(${FINDBINARY} ${TARGET} -type f -print0 | ${TRBINARY} -cd '[:print:]\0' | ${SEDBINARY} 's/[[:blank:]]/:space:/g' | ${TRBINARY} '\0' ' ') + FILES=$(${FINDBINARY} -L ${TARGET} -type f -print0 | ${TRBINARY} -cd '[:print:]\0' | ${SEDBINARY} 's/[[:blank:]]/:space:/g' | ${TRBINARY} '\0' ' ') for F in ${FILES}; do F=$(echo ${F} | ${SEDBINARY} 's/:space:/ /g') LogText "Test: analyzing file ${F} for remote target" |