Remove useless setprogname call
This commit is contained in:
parent
325a92645f
commit
6f74d88067
1
daemon.c
1
daemon.c
@ -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;
|
||||||
|
Loading…
Reference in New Issue
Block a user