summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>1998-08-28 12:05:14 +0000
committerUlrich Drepper <drepper@redhat.com>1998-08-28 12:05:14 +0000
commit263830456d332bc79b9908a298242cf7355364b8 (patch)
tree9da7a751f10656dccfa7088c8222128ffdf0e3af
parent83a048424ab50fda3853f3d71dc884879858cbf4 (diff)
downloadglibc-263830456d332bc79b9908a298242cf7355364b8.tar.gz
Print "no such file" to stderr.
-rw-r--r--elf/ldd.bash.in4
1 files changed, 2 insertions, 2 deletions
diff --git a/elf/ldd.bash.in b/elf/ldd.bash.in
index b1f0222a94..31f1943d62 100644
--- a/elf/ldd.bash.in
+++ b/elf/ldd.bash.in
@@ -89,7 +89,7 @@ case $# in
;;
esac
if test ! -f "$file"; then
- echo "ldd: ${file}:" $"no such file"
+ echo "ldd: ${file}:" $"no such file" >&2
exit 1
elif test -r "$file"; then
test -x "$file" ||
@@ -119,7 +119,7 @@ ldd: warning: you do not have execution permission for" "\`$file'" >&2
;;
esac
if test ! -f "$file"; then
- echo "ldd: ${file}:" $"no such file"
+ echo "ldd: ${file}:" $"no such file" >&2
result=1
elif test -r "$file"; then
test -x "$file" || echo $"\