ldd: Print "not a dynamic executable" on standard error [BZ #24150]

Tested with the testsuite on x86_64-linux-gnu, and manually.

Reviewed-By: Richard W.M. Jones <rjones@redhat.com>
This commit is contained in:
Florian Weimer 2019-10-15 16:41:51 +02:00
parent d1e411e5c7
commit e7c8ffe4ec

View file

@ -167,7 +167,7 @@ warning: you do not have execution permission for" "\`$file'" >&2
1)
# This can be a non-ELF binary or no binary at all.
nonelf "$file" || {
echo $" not a dynamic executable"
echo $" not a dynamic executable" >&2
result=1
}
;;