Cleanup: use `modprobe --remove` rather than `rmmod`
[lttng-tools.git] / tests / utils / utils.sh
index d03825e66f562f93ee100652c27b100add4c46b2..b29fa5f2d8b65e78a9b2c2d466680786e4dc036b 100644 (file)
@@ -664,7 +664,7 @@ function stop_lttng_sessiond_opt()
 
                        if [ -n "$modules" ]; then
                                diag "Unloading all LTTng modules"
-                               modprobe -r "$modules"
+                               modprobe --remove "$modules"
                        fi
                fi
        fi
This page took 0.024842 seconds and 4 git commands to generate.