Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/CISOfy/lynis.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Boelen <michael.boelen@cisofy.com>2019-07-26 16:34:02 +0300
committerMichael Boelen <michael.boelen@cisofy.com>2019-07-26 16:34:02 +0300
commit9605f0fa80832e70a8ee51b96ff2bba6c04877fd (patch)
tree3a94553abbbbe4e5cd0cfcfe056f30da088ef593 /include/tests_crypto
parent0a6417423f7dad6e6d8c777e70bd9a088736780b (diff)
Combined sort and uniq to sort -u
Diffstat (limited to 'include/tests_crypto')
-rw-r--r--include/tests_crypto4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/tests_crypto b/include/tests_crypto
index ecb19d2f..db710ad8 100644
--- a/include/tests_crypto
+++ b/include/tests_crypto
@@ -36,10 +36,10 @@
FOUNDPROBLEM=0
SKIP=0
sSSL_PATHS=$(echo ${SSL_CERTIFICATE_PATHS} | ${SEDBINARY} 's/:space:/__space__/g' | ${SEDBINARY} 's/:/ /g')
- sSSL_PATHS=$(echo ${sSSL_PATHS} | ${SEDBINARY} 's/^ //' | ${SORTBINARY} | ${UNIQBINARY})
+ sSSL_PATHS=$(echo ${sSSL_PATHS} | ${SEDBINARY} 's/^ //' | ${SORTBINARY} -u)
LogText "Paths to scan: ${sSSL_PATHS}"
- IGNORE_PATHS_PRINT=$(echo ${SSL_CERTIFICATE_PATHS_TO_IGNORE} | ${SEDBINARY} 's/:/, /g' | ${SEDBINARY} 's/__space__/ /g' | ${SEDBINARY} 's/^ //' | ${SORTBINARY} | ${UNIQBINARY})
+ IGNORE_PATHS_PRINT=$(echo ${SSL_CERTIFICATE_PATHS_TO_IGNORE} | ${SEDBINARY} 's/:/, /g' | ${SEDBINARY} 's/__space__/ /g' | ${SEDBINARY} 's/^ //' | ${SORTBINARY} -u)
LogText "Paths to ignore: ${IGNORE_PATHS_PRINT}"
for DIR in ${sSSL_PATHS}; do