X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?p=elogind.git;a=blobdiff_plain;f=udev%2Fudevd.c;h=d08cf30f29b806340f3e5099193fc831a607314d;hp=7e87068068ae9409ff915629bfca7f6d6df700a1;hb=5db88229d1d1d727ee1e60de583cedc6c6aa6d73;hpb=6469c77216f02c53faeeb397e44c041d6ff57b82;ds=sidebyside diff --git a/udev/udevd.c b/udev/udevd.c index 7e8706806..d08cf30f2 100644 --- a/udev/udevd.c +++ b/udev/udevd.c @@ -831,6 +831,7 @@ int main(int argc, char *argv[]) memset(&act, 0x00, sizeof(struct sigaction)); act.sa_handler = (void (*)(int)) sig_handler; sigemptyset(&act.sa_mask); + act.sa_flags = SA_RESTART; sigaction(SIGINT, &act, NULL); sigaction(SIGTERM, &act, NULL); sigaction(SIGCHLD, &act, NULL);