main: don't bail if mounting fails

tags/0.1.0
S.J.R. van Schaik 8 years ago
parent ebb8bbe5f3
commit f2a922c697
  1. 11
      source/main.c

@ -54,14 +54,9 @@ int main(void)
user_con = console_init(0);
admin_con = console_init(1);
if (!(flash = flash_probe()))
return -1;
if (!(flash = ftl_mount(flash)))
return -1;
if (!(mufs = mufs_mount(flash)))
return -1;
flash = flash_probe();
flash = ftl_mount(flash);
mufs = mufs_mount(flash);
fprintf(user_con->fp, "TBM-dev (built on " __DATE__ ")\n");
fprintf(admin_con->fp, "TBM-dev (built on " __DATE__ ")\n");

Loading…
Cancel
Save