summaryrefslogtreecommitdiff
path: root/install-from-cwd.c
diff options
context:
space:
mode:
Diffstat (limited to 'install-from-cwd.c')
-rw-r--r--install-from-cwd.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/install-from-cwd.c b/install-from-cwd.c
index 2af25f2..292d0a3 100644
--- a/install-from-cwd.c
+++ b/install-from-cwd.c
@@ -139,6 +139,10 @@ int install_from_cwd(Options *op)
}
ran_pre_install_hook = TRUE;
+ /* fail if the nouveau driver is currently in use */
+
+ if (!check_for_nouveau(op)) goto failed;
+
/* attempt to build a kernel module for the target kernel */
if (!op->no_kernel_module) {