DEVTOOLS: Fixed directory creation in create_engine

This commit is contained in:
Eugene Sandulenko
2022-05-18 17:33:39 +02:00
parent 4343882531
commit e95fb37ffa
+1 -1
View File
@@ -164,7 +164,7 @@ int main(int argc, char *argv[]) {
// Create a directory for the new engine
char folder[MAX_LINE_LENGTH];
sprintf(folder, "../../engines/%s", engineLowercase);
if (!mkdir(folder, 0755)) {
if (mkdir(folder, 0755)) {
printf("Could not create engine folder.\n");
return 0;
}