From 18daa9f4955e0f5e1009321bd24a8002aab392e6 Mon Sep 17 00:00:00 2001 From: Brian Ginsbach Date: Sun, 29 Mar 2020 15:06:36 -0500 Subject: AUTH-9229 Do not use long options for sort Use the standard `sort(1)` short option `-u` rather than `--unique`, since not all versions support long options. --- include/tests_authentication | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'include/tests_authentication') diff --git a/include/tests_authentication b/include/tests_authentication index ce821fba..2e14c7f0 100644 --- a/include/tests_authentication +++ b/include/tests_authentication @@ -374,7 +374,7 @@ echo "Unknown password hashing method ${METHOD}. Please report to lynis-dev@cisofy.com" ;; esac - done | ${SORTBINARY} --unique | ${TRBINARY} '\n' ' ') + done | ${SORTBINARY} -u | ${TRBINARY} '\n' ' ') if [ -z "${FIND}" ]; then Display --indent 2 --text "- Password hashing methods" --result "${STATUS_OK}" --color GREEN LogText "Result: no poor password hashing methods found" -- cgit v1.2.3