From: Lucas De Marchi Date: Thu, 15 Mar 2012 03:27:18 +0000 (-0300) Subject: modprobe: always try to remove all modules in command line X-Git-Tag: v7~8 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c1b84540bbe7aeb37f2b3384bced07cb88dbc674;p=thirdparty%2Fkmod.git modprobe: always try to remove all modules in command line --- diff --git a/tools/kmod-modprobe.c b/tools/kmod-modprobe.c index 3ab2a1ca..aad5bf00 100644 --- a/tools/kmod-modprobe.c +++ b/tools/kmod-modprobe.c @@ -999,7 +999,7 @@ static int do_modprobe(int argc, char **orig_argv) else if (do_show_modversions) err = show_modversions(ctx, args[0]); else if (do_remove) - err = rmmod_all(ctx, args, use_all ? nargs : 1); + err = rmmod_all(ctx, args, nargs); else if (use_all) err = insmod_all(ctx, args, nargs); else {