From: Florian Weimer Date: Tue, 15 Oct 2019 14:41:51 +0000 (+0200) Subject: ldd: Print "not a dynamic executable" on standard error [BZ #24150] X-Git-Tag: glibc-2.31~354 X-Git-Url: http://git.ipfire.org/?p=thirdparty%2Fglibc.git;a=commitdiff_plain;h=e7c8ffe4ec059da1523c093d6a240cd87d154df2 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 --- diff --git a/elf/ldd.bash.in b/elf/ldd.bash.in index 843e352a6b9..6162004818e 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 } ;;