[Bug 9676] New: modprobe returns code is 0 on some errors, and 255 if it's alright

bugzilla at busybox.net bugzilla at busybox.net
Mon Feb 27 15:35:18 UTC 2017


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

            Bug ID: 9676
           Summary: modprobe returns code is 0 on some errors, and 255 if
                    it's alright
           Product: Busybox
           Version: unspecified
          Hardware: All
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: P5
         Component: Standard Compliance
          Assignee: unassigned at busybox.net
          Reporter: busybox at yanosz.net
                CC: busybox-cvs at busybox.net
  Target Milestone: ---

System: Lede Linux 17.01.0
Busybox: 1.26.2

Is:
Loading non-existing modules is success:
root at LEDE:~# modprobe non-existing-module; echo $?
failed to find a module named non-existing-module
0
Loading existing modules is fail.
root at LEDE:~# modprobe nls_base; echo $?
nls_base is already loaded
255

Expected:
- Loading non-existing modules is fail
- Loading existing modules is success, unless --first-time is specified

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


More information about the busybox-cvs mailing list