mirror of
https://github.com/CISOfy/lynis.git
synced 2025-04-08 17:15:25 +02:00
commit
6a5ea9471e
@ -50,6 +50,7 @@
|
||||
LogText "Result: directory ${I} exists"
|
||||
case "${OS}" in
|
||||
"AIX") FIND=$(${MOUNTBINARY} | ${AWKBINARY} -v MP=${I} '{ if ($2==MP) { print $2 }}') ;;
|
||||
"HP-UX") FIND=$(${MOUNTBINARY} | ${AWKBINARY} -v MP=${I} '{ if ($1==MP) { print $1 }}') ;;
|
||||
*) FIND=$(${MOUNTBINARY} | ${AWKBINARY} -v MP=${I} '{ if ($3==MP) { print $3 }}') ;;
|
||||
esac
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user