Commit af7a8977 authored by Andrey Vagin's avatar Andrey Vagin

zdtm: say no to EINTR

Everyone have known that EINTR is returned due to cpt/rst.
But it's error, we forgot to set SA_RESTART;).
parent 6a712489
......@@ -83,6 +83,7 @@ void test_init(int argc, char **argv)
static FILE *pidf;
struct sigaction sa = {
.sa_handler = sig_hand,
.sa_flags = SA_RESTART,
};
sigemptyset(&sa.sa_mask);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment