mirror of
https://github.com/Kicksecure/security-misc.git
synced 2025-09-18 18:24:42 -04:00
use long option name
This commit is contained in:
parent
19f131c742
commit
95722d6d79
1 changed files with 1 additions and 1 deletions
|
@ -80,7 +80,7 @@ output_stat(){
|
|||
declare -a arr
|
||||
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
|
||||
return 1
|
||||
fi
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue