mirror of https://github.com/CISOfy/lynis.git
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:
parent
603d5b16a2
commit
18daa9f495
|
@ -374,7 +374,7 @@
|
||||||
echo "Unknown password hashing method ${METHOD}. Please report to lynis-dev@cisofy.com"
|
echo "Unknown password hashing method ${METHOD}. Please report to lynis-dev@cisofy.com"
|
||||||
;;
|
;;
|
||||||
esac
|
esac
|
||||||
done | ${SORTBINARY} --unique | ${TRBINARY} '\n' ' ')
|
done | ${SORTBINARY} -u | ${TRBINARY} '\n' ' ')
|
||||||
if [ -z "${FIND}" ]; then
|
if [ -z "${FIND}" ]; then
|
||||||
Display --indent 2 --text "- Password hashing methods" --result "${STATUS_OK}" --color GREEN
|
Display --indent 2 --text "- Password hashing methods" --result "${STATUS_OK}" --color GREEN
|
||||||
LogText "Result: no poor password hashing methods found"
|
LogText "Result: no poor password hashing methods found"
|
||||||
|
|
Loading…
Reference in New Issue