v4.0.0-rc4 - add config parsing
This commit is contained in:
parent
2ffa8e3236
commit
da66ae71c2
@ -150,12 +150,15 @@ runtime_exists()
|
||||
|
||||
for (f = 0; f < 3; f++) {
|
||||
if (access(runtime_files[f], F_OK) == 0) {
|
||||
printf("%s exists\n", runtime_files[f]);
|
||||
continue;
|
||||
} 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;
|
||||
}
|
||||
|
||||
/*
|
||||
|
Loading…
Reference in New Issue
Block a user