aboutsummaryrefslogtreecommitdiff
path: root/src/backupninja.in
diff options
context:
space:
mode:
authorMicah Anderson <micah@riseup.net>2006-08-13 15:53:11 +0000
committerMicah Anderson <micah@riseup.net>2006-08-13 15:53:11 +0000
commit56e2f27e791228b24caf0f0e37a0ac09995f1fd1 (patch)
tree0219ab78af0395b0a3ec15f12f36a5af4ed31327 /src/backupninja.in
parent28338e91c351bef21a856f4280b762b9ee0dc2aa (diff)
downloadbackupninja-56e2f27e791228b24caf0f0e37a0ac09995f1fd1.tar.gz
backupninja-56e2f27e791228b24caf0f0e37a0ac09995f1fd1.tar.bz2
Fixed stat to use --format instead of --printf to be compatible with coreutils
Diffstat (limited to 'src/backupninja.in')
-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]}