Cleanup: use `modprobe --remove` rather than `rmmod`
[lttng-tools.git] / tests / utils / utils.sh
index 8e6563d0672098e7c6d2f467bd26e4460a40b636..b0a64ff94f936c2bcfa82b64dbbada2032462cc0 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.023787 seconds and 4 git commands to generate.