reset shmlogname when disabling the log

This makes the i3-dump-log error message more helpful.
This commit is contained in:
Michael Stapelberg 2013-06-23 22:14:39 +02:00
parent 71dfcbc674
commit 85cb313153
1 changed files with 1 additions and 0 deletions

View File

@ -167,6 +167,7 @@ void close_logbuffer(void) {
close(logbuffer_shm);
shm_unlink(shmlogname);
logbuffer = NULL;
shmlogname = "";
}
/*