diff options
Diffstat (limited to 'src/supervision')
-rw-r--r-- | src/supervision/s6-supervise.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/supervision/s6-supervise.c b/src/supervision/s6-supervise.c index 80ba5f8..2e8fa38 100644 --- a/src/supervision/s6-supervise.c +++ b/src/supervision/s6-supervise.c @@ -500,8 +500,7 @@ static inline void handle_signals (void) { for (;;) { - char c = selfpipe_read() ; - switch (c) + switch (selfpipe_read()) { case -1 : strerr_diefu1sys(111, "selfpipe_read") ; case 0 : return ; |