mirror of
https://github.com/Kicksecure/security-misc.git
synced 2025-06-06 07:48:59 -04:00
dpkg-statoverride can actually handle '--file-name'.
This commit is contained in:
parent
ee037c01a1
commit
7e0f1a8701
1 changed files with 5 additions and 4 deletions
|
@ -79,10 +79,11 @@ output_stat(){
|
||||||
|
|
||||||
block_newlines file "${file_name}"
|
block_newlines file "${file_name}"
|
||||||
|
|
||||||
if [[ $file_name == --* ]]; then
|
## dpkg-statoverride can acttually handle '--file-name'.
|
||||||
log warn "File name starts with '--'. This would be interpreted by dpkg-statoverride as an option. Skipping. file_name: '${file_name}'" >&2
|
# if [[ $file_name == --* ]]; then
|
||||||
return 1
|
# log warn "File name starts with '--'. This would be interpreted by dpkg-statoverride as an option. Skipping. file_name: '${file_name}'" >&2
|
||||||
fi
|
# return 1
|
||||||
|
# fi
|
||||||
|
|
||||||
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
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue