From 56e2f27e791228b24caf0f0e37a0ac09995f1fd1 Mon Sep 17 00:00:00 2001 From: Micah Anderson Date: Sun, 13 Aug 2006 15:53:11 +0000 Subject: Fixed stat to use --format instead of --printf to be compatible with coreutils --- src/backupninja.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') 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]} -- cgit v1.2.3