We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 0084749 + 327e535 commit 4f3da95Copy full SHA for 4f3da95
init/init.c
@@ -532,10 +532,7 @@ void load_all_modules() {
532
533
kmod_load_resources(k_ctx);
534
ret = ftw(modules_dir, parse_tree_entry, OPEN_FDS);
535
- if (ret < 0) {
536
- kmod_unref(k_ctx);
537
- die("failed to load kmod resources");
538
- } else if (ret != 0) {
+ if (ret != 0) {
539
// Don't fail on error from walking the file tree and loading modules right now.
540
// ftw may return an error if the modules directory doesn't exist, which
541
// may be the case for some images. Additionally, we don't currently support
0 commit comments