diff options
author | Ulrich Drepper <drepper@redhat.com> | 1998-08-28 12:05:14 +0000 |
---|---|---|
committer | Ulrich Drepper <drepper@redhat.com> | 1998-08-28 12:05:14 +0000 |
commit | 263830456d332bc79b9908a298242cf7355364b8 (patch) | |
tree | 9da7a751f10656dccfa7088c8222128ffdf0e3af | |
parent | 83a048424ab50fda3853f3d71dc884879858cbf4 (diff) | |
download | glibc-263830456d332bc79b9908a298242cf7355364b8.tar.gz |
Print "no such file" to stderr.
-rw-r--r-- | elf/ldd.bash.in | 4 |
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 $"\ |