diff options
author | Michael Boelen <michael.boelen@cisofy.com> | 2019-09-17 15:04:30 +0300 |
---|---|---|
committer | Michael Boelen <michael.boelen@cisofy.com> | 2019-09-17 15:04:30 +0300 |
commit | 98017c78cac83d3370861797a3d2f716e8948481 (patch) | |
tree | c3630b67146bed36ec6f1273b236030e4dafe1d9 /include/tests_logging | |
parent | 95e9e808346a95e8810b94eaa589fa7cef814758 (diff) |
Implemented several code style improvements
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 51e4d246..7e595049 100644 --- a/include/tests_logging +++ b/include/tests_logging @@ -279,7 +279,7 @@ if [ ${SKIPTEST} -eq 0 ]; then LogText "Test: Checking which directories can be found in logrotate configuration" FIND=$(${LOGROTATEBINARY} -d -v ${ROOTDIR}etc/logrotate.conf 2>&1 | ${EGREPBINARY} "considering log|skipping" | ${GREPBINARY} -v '*' | ${SORTBINARY} -u | ${AWKBINARY} '{ if ($2=="log") { print $3 } }' | ${SEDBINARY} 's@/[^/]*$@@g' | ${SORTBINARY} -u) - if IsEmpty "${FIND}" ]; then + if IsEmpty "${FIND}"; then LogText "Result: nothing found" else LogText "Result: found one or more directories (via logrotate configuration)" |