mirror of
https://github.com/CISOfy/lynis.git
synced 2026-03-11 08:55:28 +00:00
Use BSD style format when calling stat
This commit is contained in:
parent
f00637d433
commit
871f95cbf3
1 changed files with 2 additions and 1 deletions
|
|
@ -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…
Reference in a new issue