mirror of
https://github.com/rancher/os.git
synced 2025-08-21 16:22:53 +00:00
Merge pull request #266 from wlan0/bugfix2
Fix #253: Do not fail boot if module cannot be loaded
This commit is contained in:
commit
825e7e25bb
@ -198,7 +198,7 @@ func loadModules(cfg *config.Config) error {
|
|||||||
log.Debugf("Loading module %s", module)
|
log.Debugf("Loading module %s", module)
|
||||||
err = exec.Command("/sbin/modprobe", module).Run()
|
err = exec.Command("/sbin/modprobe", module).Run()
|
||||||
if err != nil {
|
if err != nil {
|
||||||
return err
|
log.Errorf("Could not load module %s, err %v", module, err)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user