]> git.ipfire.org Git - thirdparty/glibc.git/commitdiff
Print "no such file" to stderr.
authorUlrich Drepper <drepper@redhat.com>
Fri, 28 Aug 1998 12:05:14 +0000 (12:05 +0000)
committerUlrich Drepper <drepper@redhat.com>
Fri, 28 Aug 1998 12:05:14 +0000 (12:05 +0000)
elf/ldd.bash.in

index b1f0222a94352803bf23d0f65bb0a7f3cd150081..31f1943d621e6b78792827ccfb20b41d8fbfb41e 100644 (file)
@@ -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 $"\