aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rwxr-xr-xsrc/backupninja.in2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/backupninja.in b/src/backupninja.in
index e4f5ea7..114d66c 100755
--- a/src/backupninja.in
+++ b/src/backupninja.in
@@ -132,7 +132,7 @@ function msg {
function check_perms() {
local file=$1
local perms
- perms=($(stat -L --printf='%a %g %G %u %U' $file))
+ perms=($(stat -L --format='%a %g %G %u %U' $file))
local gperm=${perms[0]:1:1}
local wperm=${perms[0]:2:1}
local gid=${perms[1]}