Commit 44983fca by Brodey Dover

K, finally, jesus. BUDDDY, what the hell guy?

Let me tell ya, I'm from the big city, bud.
1 parent aa8f21a9
Showing with 3 additions and 6 deletions
/* File Name: warden.c
* Version: 0.1
* Version: 0.2
* Author: Brodey Dover
* Date: April 9, 2016
* Date: May 1, 2016
*/
/* warden header file */
......@@ -38,14 +38,11 @@ int main(void) {
serverStatus = getServerStatus(&log);
serverPID = getServerPID();
printf("DUKE status: %i, PID: %i\n", serverStatus, serverPID);
if ((serverStatus != 0) || (serverPID <= 0)) {
printf("DUKE statuss: %i, PID: %i\n", serverStatus, serverPID);
printf("Unable to read log file: %i\n", serverStatus);
printf("server status: %i, server PID: %i\n", serverStatus, serverPID);
startServer();
}
printf("DUKE status: %i, PID: %i\n", serverStatus, serverPID);
cleanup(&log);
return 0;
}
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!