On 9.4.2010 06:33, jida...@jidanni.org 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, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org