Clean up stdout
This commit is contained in:
parent
6c402c771f
commit
dd9a450042
|
@ -363,7 +363,7 @@ int main(int argc, char *argv[]) {
|
|||
}
|
||||
|
||||
// Create the directory if it doesn't exist
|
||||
char *createOutputDir = concat_strings(2, "mkdir ", outputDirectoryName);
|
||||
char *createOutputDir = concat_strings(3, "mkdir ", outputDirectoryName, " 2> /dev/null");
|
||||
system(createOutputDir);
|
||||
free(createOutputDir);
|
||||
|
||||
|
@ -519,6 +519,7 @@ int main(int argc, char *argv[]) {
|
|||
currentPage = currentPage->next;
|
||||
}
|
||||
|
||||
printf("Pages built successfully in %s\n", outputDirectoryName);
|
||||
|
||||
/*** Deallocation and whatnot ***/
|
||||
currentPage = firstPage;
|
||||
|
@ -534,7 +535,5 @@ int main(int argc, char *argv[]) {
|
|||
free(templateContent);
|
||||
map_free(pageMap);
|
||||
|
||||
// Deallocate all the pages
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue