Show More
@@ -397,6 +397,10 b' static void setupsignalhandler(pid_t pid' | |||
|
397 | 397 | if (sigaction(SIGTERM, &sa, NULL) < 0) |
|
398 | 398 | goto error; |
|
399 | 399 | |
|
400 | /* notify the worker about window resize events */ | |
|
401 | sa.sa_flags = SA_RESTART; | |
|
402 | if (sigaction(SIGWINCH, &sa, NULL) < 0) | |
|
403 | goto error; | |
|
400 | 404 | /* propagate job control requests to worker */ |
|
401 | 405 | sa.sa_handler = forwardsignal; |
|
402 | 406 | sa.sa_flags = SA_RESTART; |
General Comments 0
You need to be logged in to leave comments.
Login now