Cleanup: use `modprobe --remove` rather than `rmmod`
[lttng-tools.git] / tests / utils / utils.sh
index 1a6ea3c424016e4ecca9fa76f1726a168d39839d..574495704a83baa5f2ba30f273131495eef0f3f2 100644 (file)
@@ -700,7 +700,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.022933 seconds and 4 git commands to generate.