find-libdeps: in functions use return instead of continue to abort

Even if continue would work, it does exactly the same as a return
in the way this function is being used.
This commit is contained in:
Levente Polyak 2019-01-22 03:10:08 +01:00
parent 8310abb348
commit 799376904d
No known key found for this signature in database
GPG Key ID: FC1B547C8D8172C8
1 changed files with 1 additions and 1 deletions

View File

@ -46,7 +46,7 @@ process_sofile() {
# extract the major version: 1
soversion="${sofile##*\.so\.}"
if [[ "$soversion" = "$sofile" ]] && ((IGNORE_INTERNAL)); then
continue
return
fi
if ! in_array "${soname}=${soversion}-${soarch}" "${soobjects[@]}"; then
# libfoo.so=1-64