From 871f95cbf3afd86b4a197a8466b8e5d387284972 Mon Sep 17 00:00:00 2001 From: Michael Boelen Date: Fri, 26 Jun 2020 09:53:23 +0200 Subject: [PATCH] Use BSD style format when calling stat --- include/functions | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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}) ;; *)