Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 16 Jan 2021 01:19:08 +0000
From:      bugzilla-noreply@freebsd.org
To:        bugs@FreeBSD.org
Subject:   [Bug 252727] readelf returns 0 (success) even on error
Message-ID:  <bug-252727-227@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D252727

            Bug ID: 252727
           Summary: readelf returns 0 (success) even on error
           Product: Base System
           Version: CURRENT
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: bin
          Assignee: bugs@FreeBSD.org
          Reporter: emaste@freebsd.org

$ readelf -l /dev/null;  echo $?
readelf: elf_begin() failed: Invalid argument
0

This prevents error handling in shell scripts.

--=20
You are receiving this mail because:
You are the assignee for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-252727-227>