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.
This commit is contained in:
Brian Ginsbach 2020-03-29 15:06:36 -05:00
parent 603d5b16a2
commit 18daa9f495
1 changed files with 1 additions and 1 deletions

View File

@ -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"