mirror of
https://github.com/Kicksecure/security-misc.git
synced 2025-02-08 16:15:23 -05:00
remove duplicate test
This commit is contained in:
parent
9712b5b4e3
commit
721392901b
@ -401,10 +401,6 @@ set_file_perms() {
|
|||||||
existing_owner="${arr[2]}"
|
existing_owner="${arr[2]}"
|
||||||
existing_group="${arr[3]}"
|
existing_group="${arr[3]}"
|
||||||
|
|
||||||
if test "${#arr[@]}" = 0; then
|
|
||||||
log error "Line is empty. Stat output: '${stat_output}', line: '${line}'" >&2
|
|
||||||
continue
|
|
||||||
fi
|
|
||||||
if test -z "${file_name}"; then
|
if test -z "${file_name}"; then
|
||||||
log error "File name is empty. Stat output: '${stat_output}', line: '${line}'" >&2
|
log error "File name is empty. Stat output: '${stat_output}', line: '${line}'" >&2
|
||||||
continue
|
continue
|
||||||
|
Loading…
x
Reference in New Issue
Block a user