diff options
author | Michael Boelen <michael.boelen@cisofy.com> | 2020-06-26 10:53:23 +0300 |
---|---|---|
committer | Michael Boelen <michael.boelen@cisofy.com> | 2020-06-26 10:53:23 +0300 |
commit | 871f95cbf3afd86b4a197a8466b8e5d387284972 (patch) | |
tree | 4d3b47a3dc55729744f2a7d08176c51a160aef3b /include/functions | |
parent | f00637d43348b701705244d978926138e5da7d42 (diff) |
Use BSD style format when calling stat
Diffstat (limited to 'include/functions')
-rw-r--r-- | include/functions | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/include/functions b/include/functions index 8d5a5ef8..4ff5b43a 100644 --- a/include/functions +++ b/include/functions @@ -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}) ;; *) |