kmodloader: modprobe: return 0 for loaded modules
authorYousong Zhou <yszhou4tech@gmail.com>
Fri, 3 Mar 2017 02:32:48 +0000 (10:32 +0800)
committerFelix Fietkau <nbd@nbd.name>
Fri, 3 Mar 2017 10:25:23 +0000 (11:25 +0100)
commit21a4bd04062e16164f4f3e1c67005a062f470b0c
tree509a5fc876708b62a489be4ee0422b4883691131
parent3dc78a47685b74f8a30739b41df365ef90535d54
kmodloader: modprobe: return 0 for loaded modules

This is the default behaviour with modprobe from kmod package [1] unless
it is explicitly told that the module is to be loaded for --first-time

 [1] http://www.kernel.org/pub/linux/utils/kernel/kmod/

Fixes FS#433

Signed-off-by: Yousong Zhou <yszhou4tech@gmail.com>
kmodloader.c