initrd: don't panic at unknown filetypes, instead skip them

This commit is contained in:
Matheus
2022-10-13 13:32:38 -03:00
parent 25069f140a
commit 55f15a903a
+1 -1
View File
@@ -164,7 +164,7 @@ void initrd_parse(){
printf("Failed creating %s: ERROR %lu\n", entry.name, err);
break;
default:
_panic("Unsupported file type in initrd!", 0);
printf("Skipping file %s due to being of unsupported type\n", entry.name);
}