corrected PID file usage

This commit is contained in:
john30
2016-02-20 13:52:50 +01:00
parent aa582a7b32
commit 1ea663b854
+1 -1
View File
@@ -310,7 +310,7 @@ error_t parse_opt(int key, char *arg, struct argp_state *state)
argp_error(state, "invalid pidfile"); argp_error(state, "invalid pidfile");
return EINVAL; return EINVAL;
} }
opt->dumpFile = arg; opt->pidFile = arg;
break; break;
case 'p': // --port=8888 case 'p': // --port=8888
opt->port = (uint16_t)parseInt(arg, 10, 1, 65535, result); opt->port = (uint16_t)parseInt(arg, 10, 1, 65535, result);