From: Ulrich Drepper Date: Fri, 28 Aug 1998 12:05:14 +0000 (+0000) Subject: Print "no such file" to stderr. X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=263830456d332bc79b9908a298242cf7355364b8;p=thirdparty%2Fglibc.git Print "no such file" to stderr. --- diff --git a/elf/ldd.bash.in b/elf/ldd.bash.in index b1f0222a943..31f1943d621 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 $"\