diff options
author | Neil Brown <neilb@suse.de> | 2008-07-12 20:27:40 +1000 |
---|---|---|
committer | Neil Brown <neilb@suse.de> | 2008-07-12 20:27:40 +1000 |
commit | bfa44e2e7afb88a9f2d6083f8ff31c2d50cc78dc (patch) | |
tree | 4a4e140f3e3e4611320e872bc2bb88b622dc83ce /monitor.c | |
parent | 4d43913ce07ffbcb1ae8e7bdd06a4bd67cd07791 (diff) | |
download | mdadm-bfa44e2e7afb88a9f2d6083f8ff31c2d50cc78dc.tar.gz mdadm-bfa44e2e7afb88a9f2d6083f8ff31c2d50cc78dc.tar.xz mdadm-bfa44e2e7afb88a9f2d6083f8ff31c2d50cc78dc.zip |
Revise message passing code.
More here
Diffstat (limited to 'monitor.c')
-rw-r--r-- | monitor.c | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -457,7 +457,8 @@ static int wait_and_act(struct supertype *container, int nowait) sigprocmask(SIG_UNBLOCK, NULL, &set); sigdelset(&set, SIGUSR1); rv = pselect(maxfd+1, &rfds, NULL, NULL, NULL, &set); - + if (rv == -1 && errno == EINTR) + rv = 0; #ifdef DEBUG dprint_wake_reasons(&rfds); #endif |