Commit 68cac793 authored by Aaron Plattner's avatar Aaron Plattner

319.32

parent 266d928c
......@@ -115,6 +115,13 @@ int nvidia_modprobe(const int print_errors)
return 1;
}
/* Only attempt to load the kernel module if root. */
if (geteuid() != 0)
{
return 0;
}
/* Attempt to read the full path to the modprobe executable from /proc. */
fp = fopen(NV_PROC_MODPROBE_PATH, "r");
......
NVIDIA_VERSION = 319.23
NVIDIA_VERSION = 319.32
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment