Skip to content
Draft
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 6 additions & 1 deletion crhmcode/src/main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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);

Expand All @@ -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";
}

}