mirror of https://github.com/CISOfy/lynis.git
Quoting should not be used when globbing
This commit is contained in:
parent
700e0823de
commit
f35a08ad28
|
@ -1290,7 +1290,7 @@
|
|||
if [ -n "${STATBINARY}" ]; then
|
||||
|
||||
case ${OS} in
|
||||
"*BSD")
|
||||
*BSD)
|
||||
DATA=$(${STATBINARY} -f "%OLp" ${CHECKFILE})
|
||||
;;
|
||||
*)
|
||||
|
@ -1305,7 +1305,7 @@
|
|||
# See if we can use the find binary
|
||||
if [ -z "${DATA}" ]; then
|
||||
case ${OS} in
|
||||
"AIX" | "*BSD")
|
||||
"AIX" | *BSD)
|
||||
Debug "Skipping find command, as this operating system does not support -printf parameter"
|
||||
;;
|
||||
*)
|
||||
|
|
Loading…
Reference in New Issue