Page MenuHomeFreeBSD

Change kmod RC script to return 1 on failure
ClosedPublic

Authored by garga on Apr 14 2017, 4:08 PM.

Details

Summary

Change kmod RC script to return 1 on failure

  • When kldload fails, return 1
  • When checking status and kernel module is not loaded, return 1

Sponsored by: Rubicon Communications (Netgate)
MFH: 2017Q2

Diff Detail

Repository
rP FreeBSD ports repository
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.

Event Timeline

garga created this revision.Apr 14 2017, 4:08 PM
swills accepted this revision.Apr 14 2017, 5:26 PM

LGTM, Approved

This revision is now accepted and ready to land.Apr 14 2017, 5:26 PM
This revision was automatically updated to reflect the committed changes.