Jean Wolter writes: modprobe checks, whether a module is already loaded. The function used for this currently always returns 0.
This commit is contained in:
parent
35492137f8
commit
135cee3741
@ -609,7 +609,7 @@ static int already_loaded (const char *name)
|
||||
}
|
||||
done:
|
||||
close (fd);
|
||||
return 0;
|
||||
return ret;
|
||||
}
|
||||
|
||||
static int mod_process ( struct mod_list_t *list, int do_insert )
|
||||
|
Loading…
Reference in New Issue
Block a user