]> git.ipfire.org Git - thirdparty/glibc.git/commitdiff
ldd: Print "not a dynamic executable" on standard error [BZ #24150]
authorFlorian Weimer <fweimer@redhat.com>
Tue, 15 Oct 2019 14:41:51 +0000 (16:41 +0200)
committerFlorian Weimer <fweimer@redhat.com>
Tue, 15 Oct 2019 14:41:51 +0000 (16:41 +0200)
Tested with the testsuite on x86_64-linux-gnu, and manually.

Reviewed-By: Richard W.M. Jones <rjones@redhat.com>
elf/ldd.bash.in

index 843e352a6b97edf13d9cd24c2c62b004f99910d4..6162004818eac9f6909056cef29e2e6986860c3e 100644 (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
       }
       ;;