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
-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;
span title='2018-07-23 16:13:03 -0400'>2018-07-23Use EV_SET in watchJune McEnroe On NetBSD, kevent.udata is intptr_t rather than void *, and their EV_SET macro does the cast. 2018-07-23Link with -lcursesJune McEnroe Turns out that NetBSD has its own curses implementation and I'm all for not linking GNU software <3 2018-07-22Fix scheme indentationJune McEnroe 2018-07-16Add -m option to glitchJune McEnroe 2018-07-16malloc deflate buffer in glitchJune McEnroe 2018-07-16malloc the deflate buffer in pngoJune McEnroe The stack is a baby. 2018-07-05Add shed bloodJune McEnroe