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: [email protected]
          Reporter: [email protected]

$ 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.
_______________________________________________
[email protected] mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-bugs
To unsubscribe, send any mail to "[email protected]"

Reply via email to