mirror of
https://github.com/CISOfy/lynis.git
synced 2025-07-30 01:04:39 +02:00
Use BSD style format when calling stat
This commit is contained in:
parent
f00637d433
commit
871f95cbf3
@ -1290,7 +1290,8 @@
|
||||
if [ -n "${STATBINARY}" ]; then
|
||||
|
||||
case ${OS} in
|
||||
*BSD)
|
||||
*BSD | "macOS")
|
||||
# BSD and macOS have no --format, only short notation
|
||||
DATA=$(${STATBINARY} -f "%OLp" ${CHECKFILE})
|
||||
;;
|
||||
*)
|
||||
|
Loading…
x
Reference in New Issue
Block a user