summaryrefslogtreecommitdiff
path: root/src/udev
diff options
context:
space:
mode:
authorThomas Hindoe Paaboel Andersen <phomes@gmail.com>2016-12-05 23:55:18 +0100
committerThomas Hindoe Paaboel Andersen <phomes@gmail.com>2016-12-06 00:09:43 +0100
commit11754a348610327c7aa0659ec41f9cb5296fc396 (patch)
tree12b99c2a28de41aaf2d7c8a849d365575ea618d9 /src/udev
parent95977da98ca9b300af5ac1212200a3ad36b5ec51 (diff)
udev: remove duplicate flag
One SA_RESTART is enough. Fall out from e28c7cd0665364bb910fe2cead882623c23c28ac
Diffstat (limited to 'src/udev')
-rw-r--r--src/udev/udevadm-monitor.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/udev/udevadm-monitor.c b/src/udev/udevadm-monitor.c
index 11abebb351..f631834341 100644
--- a/src/udev/udevadm-monitor.c
+++ b/src/udev/udevadm-monitor.c
@@ -143,7 +143,7 @@ static int adm_monitor(struct udev *udev, int argc, char *argv[]) {
/* set signal handlers */
act.sa_handler = sig_handler;
- act.sa_flags = SA_RESTART|SA_RESTART;
+ act.sa_flags = SA_RESTART;
sigaction(SIGINT, &act, NULL);
sigaction(SIGTERM, &act, NULL);
sigemptyset(&mask);