diff options
author | Wojciech Banaś <fizista@gmail.com> | 2022-02-14 15:23:20 +0300 |
---|---|---|
committer | Wojciech Banaś <fizista@gmail.com> | 2022-02-14 15:23:20 +0300 |
commit | 4098236412d5f846f43576a35ac8694ed4783ce8 (patch) | |
tree | 6baf56462306457140989e2a3be9773e3e3579ef /include/tests_logging | |
parent | 4f382331b3d7d141c49a971050d3a9b61a94c511 (diff) |
#1270 added finding configuration files in the "etc" directory, even if they are symlinks
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" |