projects
/
paraslash.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6cb6634
)
gui.c: Remove pointless return statement.
author
Andre Noll
<maan@tuebingen.mpg.de>
Fri, 18 Mar 2016 21:40:59 +0000
(22:40 +0100)
committer
Andre Noll
<maan@tuebingen.mpg.de>
Fri, 18 Mar 2016 21:40:59 +0000
(22:40 +0100)
In signal_post_select() we call die() on SIGTERM which never returns.
gui.c
patch
|
blob
|
history
diff --git
a/gui.c
b/gui.c
index dd7ffeb40b9fbaa6cc41350c1b0eb41a2317d0c1..8d44fb44b36979008604bed66d58a68f55674260 100644
(file)
--- a/
gui.c
+++ b/
gui.c
@@
-935,7
+935,6
@@
static int signal_post_select(struct sched *s, __a_unused void *context)
switch (ret) {
case SIGTERM:
die(EXIT_FAILURE, "only the good die young (caught SIGTERM)\n");
- return 1;
case SIGINT:
return 1;
case SIGUSR1: