Remove useless setprogname call

This commit is contained in:
C. McEnroe 2020-08-17 18:17:41 -04:00
parent 325a92645f
commit 6f74d88067

View File

@ -191,7 +191,6 @@ static void setTitle(void) {
int main(int argc, char *argv[]) { int main(int argc, char *argv[]) {
int error; int error;
setprogname(argv[0]);
openlog(getprogname(), LOG_NDELAY | LOG_PID | LOG_PERROR, LOG_DAEMON); openlog(getprogname(), LOG_NDELAY | LOG_PID | LOG_PERROR, LOG_DAEMON);
bool daemonize = true; bool daemonize = true;