On 01/26/15 at 11:26am, Christoph Jaeger wrote: > rmmod fails if the module is not loaded; thus, Vagrant aborts provisioning > when started from a clean slate. Use modprobe, which does not fail, instead. > Unloading unused modules the to-be-unloaded module depends on may also be > desirable. > > Signed-off-by: Christoph Jaeger <[email protected]>
Just wondering, does modprobe -r never fail at all? It's not clear to me from the manual page. Maybe we should do rmmod openvswitch || true instead even better only invoke rmmod if the module is loaded and properly fail if rmmod fails *if* the module was in fact loaded. _______________________________________________ dev mailing list [email protected] http://openvswitch.org/mailman/listinfo/dev
