summary refs log tree commit diff
diff options
context:
space:
mode:
authorJune McEnroe <june@causal.agency>2020-08-17 18:17:41 -0400
committerJune McEnroe <june@causal.agency>2020-08-17 18:17:41 -0400
commit6f74d88067f5e3dc7c305c449074a2ee015334ae (patch)
tree94ec7ab1efa1ac30793c8d1f94918a05ae187335
parentAdd OpenBSD rc script (diff)
downloadcatsit-6f74d88067f5e3dc7c305c449074a2ee015334ae.tar.gz
catsit-6f74d88067f5e3dc7c305c449074a2ee015334ae.zip
Remove useless setprogname call
Diffstat (limited to '')
-rw-r--r--daemon.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/daemon.c b/daemon.c
index 03955bd..ad34b45 100644
--- a/daemon.c
+++ b/daemon.c
@@ -191,7 +191,6 @@ static void setTitle(void) {
 
 int main(int argc, char *argv[]) {
 	int error;
-	setprogname(argv[0]);
 	openlog(getprogname(), LOG_NDELAY | LOG_PID | LOG_PERROR, LOG_DAEMON);
 
 	bool daemonize = true;