add more error checking to parse.c

This commit is contained in:
Liam Waldron 2023-05-04 13:06:14 -04:00
parent 5e7706d2c2
commit 2a579f070e

View File

@ -60,7 +60,7 @@ char checkForFiles() {
printf(COL_YELLOW "WRN" COL_RESET " | use a config.emk file, rather\n");
printf(COL_YELLOW "WRN" COL_RESET " | than embedding settings directly\n");
printf(COL_YELLOW "WRN" COL_RESET " | within the emkfile.\n");
} else if (gwtcwd(cwd, sizeof(cwd)) != NULL) {
} else if (getcwd(cwd, sizeof(cwd)) != NULL) {
printf(COL_BLUE "INF" COL_RESET " | using config.emk at %s/config.emk\n", cwd);
}
}