diff options
-rw-r--r-- | src/skaembutils/s6-pause.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/src/skaembutils/s6-pause.c b/src/skaembutils/s6-pause.c index acb1f41..df09594 100644 --- a/src/skaembutils/s6-pause.c +++ b/src/skaembutils/s6-pause.c @@ -25,12 +25,12 @@ int main (int argc, char const *const *argv) if (opt == -1) break ; switch (opt) { - case 't' : if (nsig >= MAX) dieusage() ; sigs[nsig++] = SIGTERM ; - case 'h' : if (nsig >= MAX) dieusage() ; sigs[nsig++] = SIGHUP ; - case 'a' : if (nsig >= MAX) dieusage() ; sigs[nsig++] = SIGALRM ; - case 'q' : if (nsig >= MAX) dieusage() ; sigs[nsig++] = SIGQUIT ; - case 'b' : if (nsig >= MAX) dieusage() ; sigs[nsig++] = SIGABRT ; - case 'i' : if (nsig >= MAX) dieusage() ; sigs[nsig++] = SIGINT ; + case 't' : if (nsig >= MAX) dieusage() ; sigs[nsig++] = SIGTERM ; break ; + case 'h' : if (nsig >= MAX) dieusage() ; sigs[nsig++] = SIGHUP ; break ; + case 'a' : if (nsig >= MAX) dieusage() ; sigs[nsig++] = SIGALRM ; break ; + case 'q' : if (nsig >= MAX) dieusage() ; sigs[nsig++] = SIGQUIT ; break ; + case 'b' : if (nsig >= MAX) dieusage() ; sigs[nsig++] = SIGABRT ; break ; + case 'i' : if (nsig >= MAX) dieusage() ; sigs[nsig++] = SIGINT ; break ; case 'p' : { unsigned int n ; |