diff --git a/lddtree.sh b/lddtree.sh index 6cca1c2..3c5b29d 100644 --- a/lddtree.sh +++ b/lddtree.sh @@ -136,7 +136,7 @@ find_elf() { fi if [ -n "${LD_LIBRARY_PATH}" ] ; then - check_paths "${elf}" "${LD_LIBRARY_PATH}" + check_paths "${elf}" "${LD_LIBRARY_PATH}" && return 0 fi if ! ${c_ldso_paths_loaded} ; then