commit a20077fef1e665dc342448bceee1d759c13c10bd
parent 31e0a14bfcf3d23890241c9f09de1b0694a8d38c
Author: valeth <patrick.auernig@gmail.com>
Date: Sat, 21 Nov 2015 12:35:48 +0100
do not use a dotfile for the log
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/xsel.c b/xsel.c
@@ -452,7 +452,7 @@ become_daemon (void)
/* If the user has specified a --logfile, use that ... */
if (logfile[0] == '\0') {
/* ... otherwise use the default logfile */
- snprintf (logfile, MAXFNAME, "%s/.xsel.log", cachedir);
+ snprintf (logfile, MAXFNAME, "%s/xsel.log", cachedir);
}
/* Make sure to create the logfile with sane permissions */