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;
itle='2019-09-10 02:34:48 -0400'>2019-09-10Set Accept-Encoding in titleJune McEnroe 2019-09-08Set title User-AgentJune McEnroe 2019-09-07Add -x flag to titleJune McEnroe 2019-09-07Ignore SIGPIPE in relayJune McEnroe 2019-09-07Add A Memory Called EmpireJune McEnroe 2019-09-05Handle lack of Content-TypeJune McEnroe 2019-09-05Use CURLINFO_CONTENT_TYPEJune McEnroe 2019-09-05Decode entities in titlesJune McEnroe 2019-09-05Print title as soon as it's availableJune McEnroe 2019-09-05Use CURL_PREFIX to set flagsJune McEnroe 2019-09-05Add titleJune McEnroe 2019-09-04Add Avorter n'est pas tuerJune McEnroe 2019-08-29Unset executable on shell scriptsJune McEnroe 2019-08-29Add long-missing setopt to bin.7June McEnroe 2019-08-29Add editJune McEnroe