Julius Plenz
70ec3867fe
clean up zero-byte logfile on immediate exit
Otherwise, a zero-byte log file stays behind after every call to `i3
--get-socketpath`. Also, replace "return" calls with more explicit "exit"
calls.
Before:
$ ls -ld /tmp/i3* | wc -l; \
repeat 10 i3 --get-socketpath >/dev/null; \
ls -ld /tmp/i3* | wc -l
1
11
Now:
$ ls -ld /tmp/i3* | wc -l; \
repeat 10 i3 --get-socketpath >/dev/null; \
ls -ld /tmp/i3* | wc -l
1
1
Signed-off-by: Julius Plenz <julius@plenz.com>
2012-08-11 02:23:03 +02:00
..
2012-08-05 14:30:05 +02:00
2012-08-02 17:45:09 +02:00
2011-10-25 21:19:38 +01:00
2012-01-06 23:40:07 +00:00
2011-10-25 21:19:38 +01:00
2011-10-25 21:19:38 +01:00
2012-05-02 22:01:50 +02:00
2012-08-04 03:13:24 +02:00
2012-08-05 20:26:15 +02:00
2012-08-06 03:03:00 +02:00
2012-08-06 03:03:00 +02:00
2011-10-25 21:19:38 +01:00
2012-03-31 10:53:04 +02:00
2012-04-09 14:28:36 +02:00
2012-01-21 15:07:53 +00:00
2012-03-31 10:53:04 +02:00
2012-02-15 18:56:07 +00:00
2012-03-31 10:53:04 +02:00
2012-08-02 17:45:09 +02:00
2012-05-09 19:12:20 +02:00
2011-10-25 21:19:38 +01:00
2012-08-11 02:23:03 +02:00
2012-03-31 10:53:04 +02:00
2011-10-25 21:19:38 +01:00
2011-10-25 21:19:38 +01:00
2011-10-25 21:19:38 +01:00
2011-02-15 02:21:23 +01:00
2012-03-31 10:53:04 +02:00
2012-07-22 18:41:12 +02:00
2011-10-25 21:19:38 +01:00
2011-11-10 19:17:36 +00:00
2012-08-08 18:45:40 +02:00
2011-08-10 15:55:27 +02:00
2012-01-07 14:59:58 +00:00
2012-03-31 10:53:04 +02:00
2011-10-25 22:18:17 +01:00
2012-06-03 16:24:53 +02:00
2011-11-16 20:54:30 +00:00
2012-01-18 19:16:57 +00:00
2012-03-31 10:53:04 +02:00
2012-03-31 10:53:04 +02:00
2012-01-20 18:13:52 +00:00
2012-03-26 17:00:35 +02:00
2012-03-31 10:53:04 +02:00
2012-03-31 10:53:04 +02:00