Subject: Bug#4188: ldd never gives non-zero exit status

From: Ian Jackson <[email-masked]>
Date: Sun, 18 Aug 96 14:06 BST

Package: ldso
Version: 1.7.14-4

-chiark:~> ldd /bin/ls
        libc.so.5 => /lib/libc.so.5.2.18
-chiark:~> echo $?
0
-chiark:~> ldd /bin/true 
ldd: /bin/true is not a.out or ELF
-chiark:~> echo $?
0
-chiark:~> ldd /dev/null 
ldd: can't read header from /dev/null
-chiark:~> echo $?
0
-chiark:~> ldd /spong
ldd: can't open /spong (No such file or directory)
-chiark:~> echo $?
0
-chiark:~> ldd
usage: ldd [-vVdr] prog ...
-chiark:~> echo $?
0
-chiark:~>