diff options
author | Michael Boelen <michael.boelen@cisofy.com> | 2019-07-26 16:34:02 +0300 |
---|---|---|
committer | Michael Boelen <michael.boelen@cisofy.com> | 2019-07-26 16:34:02 +0300 |
commit | 9605f0fa80832e70a8ee51b96ff2bba6c04877fd (patch) | |
tree | 3a94553abbbbe4e5cd0cfcfe056f30da088ef593 /include/tests_databases | |
parent | 0a6417423f7dad6e6d8c777e70bd9a088736780b (diff) |
Combined sort and uniq to sort -u
Diffstat (limited to 'include/tests_databases')
-rw-r--r-- | include/tests_databases | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/tests_databases b/include/tests_databases index 43d0d025..01dcfe12 100644 --- a/include/tests_databases +++ b/include/tests_databases @@ -297,7 +297,7 @@ fi done # Sort the list of discovered configuration files so we can make them unique - REDIS_CONFIGURATION_FILES=$(echo ${REDIS_CONFIGURATION_FILES} | ${SEDBINARY} 's/^ //' | ${TRBINARY} ' ' '\n' | ${SORTBINARY} | ${UNIQBINARY} | ${TRBINARY} '\n' ' ') + REDIS_CONFIGURATION_FILES=$(echo ${REDIS_CONFIGURATION_FILES} | ${SEDBINARY} 's/^ //' | ${TRBINARY} ' ' '\n' | ${SORTBINARY} -u | ${TRBINARY} '\n' ' ') for FILE in ${REDIS_CONFIGURATION_FILES}; do if IsWorldReadable ${FILE}; then LogText "Result: configuration file ${FILE} is world readable, this might leak sensitive information!" |