Added finger support
[tpg/opendispense2.git] / src / server / main.c
index faf07e3..590e197 100644 (file)
@@ -151,7 +151,8 @@ int main(int argc, char *argv[])
        
        Server_Start();
        
-       pthread_kill(gTimerThread, SIGKILL);
+       if(gTimerThread)
+               pthread_kill(gTimerThread, SIGKILL);
 
        return 0;
 }

UCC git Repository :: git.ucc.asn.au