about summary refs log tree commit diff
diff options
context:
space:
mode:
authorFlorian Weimer <fweimer@redhat.com>2019-10-15 16:41:51 +0200
committerFlorian Weimer <fweimer@redhat.com>2019-10-15 16:41:51 +0200
commite7c8ffe4ec059da1523c093d6a240cd87d154df2 (patch)
treea20b856590ecd75e0b13b3dc5fea0410aea8022d
parentd1e411e5c786ce3028d98b4e6fc02c2fcf66ae37 (diff)
downloadglibc-e7c8ffe4ec059da1523c093d6a240cd87d154df2.tar.gz
glibc-e7c8ffe4ec059da1523c093d6a240cd87d154df2.tar.xz
glibc-e7c8ffe4ec059da1523c093d6a240cd87d154df2.zip
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>
-rw-r--r--elf/ldd.bash.in2
1 files changed, 1 insertions, 1 deletions
diff --git a/elf/ldd.bash.in b/elf/ldd.bash.in
index 843e352a6b..6162004818 100644
--- a/elf/ldd.bash.in
+++ b/elf/ldd.bash.in
@@ -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
       }
       ;;