v4.0.0-rc4 - add config parsing

This commit is contained in:
Liam Waldron 2024-10-20 17:00:18 -04:00
parent 2ffa8e3236
commit da66ae71c2

View File

@ -150,12 +150,15 @@ runtime_exists()
for (f = 0; f < 3; f++) { for (f = 0; f < 3; f++) {
if (access(runtime_files[f], F_OK) == 0) { if (access(runtime_files[f], F_OK) == 0) {
printf("%s exists\n", runtime_files[f]); continue;
} else { } else {
printf("%s does not exist\n", runtime_files[f]); errlog("Runtime files are missing, cannot continue with operation.");
} printf(COL_RED "[x]" COL_RESET " The following files are missing:\n");
} printf(COL_RED "[x]" COL_RESET " \t%s\n", runtime_files[f]);
return 1; return 1;
}
}
return 0;
} }
/* /*