summaryrefslogtreecommitdiff
path: root/udev/udevadm-settle.c
diff options
context:
space:
mode:
Diffstat (limited to 'udev/udevadm-settle.c')
-rw-r--r--udev/udevadm-settle.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/udev/udevadm-settle.c b/udev/udevadm-settle.c
index d40c8c8d5e..9f409b61b8 100644
--- a/udev/udevadm-settle.c
+++ b/udev/udevadm-settle.c
@@ -96,7 +96,9 @@ static int adm_settle(struct udev *udev, int argc, char *argv[])
" --exit-if-exists=<file> stop waiting if file exists\n"
" --quiet do not print list after timeout\n"
" --help\n\n");
- exit(0);
+ exit(EXIT_SUCCESS);
+ default:
+ exit(EXIT_FAILURE);
}
}