Regression in 10.0-BETA1, mdconfig has changed its return code.

Hiroki Sato hrs at FreeBSD.org
Wed Oct 23 03:55:37 UTC 2013


"Julian H. Stacey" <jhs at berklix.com> wrote
  in <201310230254.r9N2slD1067094 at fire.js.berklix.net>:

jh> Regresssion in 10.0-BETA1, mdconfig -l -v return code changed from 0
jh> to 255.  OK, its not specfied in manual, but has changed.
jh> A test script I was using caught it:
jh> 	http://www.berklix.com/~jhs/bin/sh/mdconfig_tst
jh> Probably in next day or 2 I'll hack the C & send-pr.

 Does the attached patch fix it?

-- Hiroki
-------------- next part --------------
A non-text attachment was scrubbed...
Name: mdconfig_20131023-1.diff
Type: text/x-patch
Size: 913 bytes
Desc: not available
URL: <http://lists.freebsd.org/pipermail/freebsd-current/attachments/20131023/f19de35d/attachment.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 196 bytes
Desc: not available
URL: <http://lists.freebsd.org/pipermail/freebsd-current/attachments/20131023/f19de35d/attachment.sig>


More information about the freebsd-current mailing list