]> git.ipfire.org Git - thirdparty/kmod.git/commit
modprobe: properly handle errors from init_module
authorDave Reisner <dreisner@archlinux.org>
Tue, 31 Jan 2012 01:57:36 +0000 (20:57 -0500)
committerLucas De Marchi <lucas.demarchi@profusion.mobi>
Tue, 31 Jan 2012 16:08:57 +0000 (14:08 -0200)
commit297a3182e487818508f718a04349ec07630346a1
treef5db03676affc731d931c2b3c5b3ea263817bdda
parent7aed46088e9351a68ede14e8b9037f16289ff270
modprobe: properly handle errors from init_module

Effectively catch and the zero and non-zero cases and error out
appropriately. Note that -EEXIST will only ever be returned when
KMOD_PROBE_STOP_ON_ALREADY_LOADED is set as a probe_insert_module flag.
tools/kmod-modprobe.c