Skip to content
Snippets Groups Projects
Commit 56e2f27e authored by micah's avatar micah :speech_balloon:
Browse files

Fixed stat to use --format instead of --printf to be compatible with coreutils

parent 28338e91
Branches
Tags
No related merge requests found
......@@ -11,6 +11,8 @@ version 0.9.4 -- unreleased
. When determining which backup actions to make, find now follows
symlinks for $configdirectory
. Changed order of -s to mail for compatibility
. fixed permission stat call so it uses the --format supported by
coreutils (Closes: #382747)
handler changes
Added tar handler:
. create tarballs
......
......@@ -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]}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment