On 9.4.2010 06:33, [email protected] wrote:
> Jon, I just want to make -r act more like one expects.
> 
> Do make it return an error (shell $?) as you don't document that it will not 
> return
> an error, and one would expect it should. Or at -r you could document
> that no error will be returned, for some strange reason or not to break
> bad scripts or something.

modprobe -r <module> behaves analogically to modprobe <module>: If the
kernel is already in the desired state, nothing is printed and modprobe
exits successfully. If you want it to return an error in such case, use
the --first-time option.

Michal
--
To unsubscribe from this list: send the line "unsubscribe linux-modules" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to