mirror of
https://github.com/Kicksecure/security-misc.git
synced 2025-02-07 22:45:21 -05:00
use long option name
This commit is contained in:
parent
19f131c742
commit
95722d6d79
@ -80,7 +80,7 @@ output_stat(){
|
|||||||
declare -a arr
|
declare -a arr
|
||||||
local file_name_from_stat stat_output stat_output_newlined
|
local file_name_from_stat stat_output stat_output_newlined
|
||||||
|
|
||||||
if ! stat_output="$(stat -c "%a${delimiter}%U${delimiter}%G${delimiter}%n${delimiter}" "${file_name}")"; then
|
if ! stat_output="$(stat --format="%a${delimiter}%U${delimiter}%G${delimiter}%n${delimiter}" "${file_name}")"; then
|
||||||
log error "Failed to run 'stat' on file: '${file_name}'!" >&2
|
log error "Failed to run 'stat' on file: '${file_name}'!" >&2
|
||||||
return 1
|
return 1
|
||||||
fi
|
fi
|
||||||
|
Loading…
x
Reference in New Issue
Block a user