diff --git a/crhmcode/src/main.cpp b/crhmcode/src/main.cpp index 3cd85838b..4585137a1 100644 --- a/crhmcode/src/main.cpp +++ b/crhmcode/src/main.cpp @@ -9,6 +9,11 @@ int main(int argc, char *argv[]) arguments->readCommandLine(argc, argv); arguments->validate(); + int i = system("test -z $TZ && echo \"Enviroment variable TZ is not set this" + " may negatively impact performance.\n Set TZ to :[Timezone]\n You can find" + " the timezone to set TZ to in /etc/timezone on most systems.\n \" " + "|| echo \"TZ is set to $TZ\n\""); + //Create main object with the given arguments. CRHMmain* m = new CRHMmain(arguments); @@ -21,7 +26,7 @@ int main(int argc, char *argv[]) } else { - std::cout << "Error encountered while loading the project. Check log file for more detail."; + std::cout << "Error encountered while loading the project. Check log file for more detail.\n"; } }