1
0
mirror of https://github.com/rancher/os.git synced 2025-08-19 07:19:05 +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:
Darren Shepherd 2015-04-30 22:04:02 -07:00
commit 825e7e25bb

View File

@ -198,7 +198,7 @@ func loadModules(cfg *config.Config) error {
log.Debugf("Loading module %s", module)
err = exec.Command("/sbin/modprobe", module).Run()
if err != nil {
return err
log.Errorf("Could not load module %s, err %v", module, err)
}
}