Skip to content
Snippets Groups Projects
Commit a84d6fed authored by rswindell's avatar rswindell
Browse files

Sets timezone to GMT/UTC.

parent afabea01
No related branches found
No related tags found
No related merge requests found
......@@ -221,6 +221,10 @@ int main(int argc, char **argv)
fprintf(stderr,"\nSMB2SBL v%s - Updates SBL via SMB - Developed 1994-2000 "
"Rob Swindell\n\n",VERSION);
if(putenv("TZ=UCT0"))
fprintf(stderr,"!putenv() FAILED\n");
tzset();
if(checktime()) {
printf("Time problem!\n");
return(-1); }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment