diff options
author | Brian Ginsbach <brian.ginsbach@gmail.com> | 2020-03-29 23:06:36 +0300 |
---|---|---|
committer | Brian Ginsbach <brian.ginsbach@gmail.com> | 2020-03-29 23:06:36 +0300 |
commit | 18daa9f4955e0f5e1009321bd24a8002aab392e6 (patch) | |
tree | 276aa2d687c2ac3c9884b13737a05a356613a617 /include/tests_authentication | |
parent | 603d5b16a282b6c2f646bae450002e385bd91b3f (diff) |
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.
Diffstat (limited to 'include/tests_authentication')
-rw-r--r-- | include/tests_authentication | 2 |
1 files changed, 1 insertions, 1 deletions
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" |