[Bug 11726] New: blockdev always returns 0

bugzilla at busybox.net bugzilla at busybox.net
Thu Mar 14 00:47:50 UTC 2019


https://bugs.busybox.net/show_bug.cgi?id=11726

            Bug ID: 11726
           Summary: blockdev always returns 0
           Product: Busybox
           Version: 1.30.x
          Hardware: All
                OS: Linux
            Status: NEW
          Severity: minor
          Priority: P5
         Component: Other
          Assignee: unassigned at busybox.net
          Reporter: whitpa at users.sourceforge.net
                CC: busybox-cvs at busybox.net
  Target Milestone: ---

The blockdev applet always returns a zero exit code, which is not consistent
with util-linux blockdev behaviour.

In particular, this is a problem for the "blockdev --rereadpt" case, which does
not provide stdout output.  Automation may be relying on a non-zero exit code
from blockdev to indicate a BLKRRPART ioctl failure.

-- 
You are receiving this mail because:
You are on the CC list for the bug.


More information about the busybox-cvs mailing list