remove duplicate test

This commit is contained in:
Patrick Schleizer 2024-07-24 11:12:39 -04:00
parent 9712b5b4e3
commit 721392901b
No known key found for this signature in database
GPG Key ID: CB8D50BB77BB3C48

View File

@ -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