[Bug 252727] readelf returns 0 (success) even on error
bugzilla-noreply at freebsd.org
bugzilla-noreply at freebsd.org
Sat Jan 16 01:19:08 UTC 2021
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=252727
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 at FreeBSD.org
Reporter: emaste at freebsd.org
$ readelf -l /dev/null; echo $?
readelf: elf_begin() failed: Invalid argument
0
This prevents error handling in shell scripts.
--
You are receiving this mail because:
You are the assignee for the bug.
More information about the freebsd-bugs
mailing list