This commit is contained in:
Patrick Schleizer 2024-07-26 10:25:59 -04:00
parent 3b033ceba2
commit ac41d1cfff
No known key found for this signature in database
GPG Key ID: CB8D50BB77BB3C48

View File

@ -177,6 +177,8 @@ add_nosuid_statoverride_entry() {
log info "Test would parse line: '${dummy_line}'" log info "Test would parse line: '${dummy_line}'"
should_be_counter=$((should_be_counter + 1)) should_be_counter=$((should_be_counter + 1))
done < <(safe_echo_nonewline "${fso_to_process}" | find -files0-from - -perm /u=s,g=s -print0) done < <(safe_echo_nonewline "${fso_to_process}" | find -files0-from - -perm /u=s,g=s -print0)
## False positive on SC2185 (find without path argument) #1748
## https://github.com/koalaman/shellcheck/issues/1748
local line local line
while IFS="" read -r -d "" file_name; do while IFS="" read -r -d "" file_name; do