summaryrefslogtreecommitdiff
path: root/src/udev/udevadm-settle.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/udev/udevadm-settle.c')
-rw-r--r--src/udev/udevadm-settle.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/udev/udevadm-settle.c b/src/udev/udevadm-settle.c
index df9fefc8d0..2404442fd7 100644
--- a/src/udev/udevadm-settle.c
+++ b/src/udev/udevadm-settle.c
@@ -172,6 +172,8 @@ int settle_main(int argc, char *argv[], void *userdata) {
return 0;
}
+ (void) emit_deprecation_warning();
+
deadline = now(CLOCK_MONOTONIC) + arg_timeout;
/* guarantee that the udev daemon isn't pre-processing */
@@ -197,8 +199,6 @@ int settle_main(int argc, char *argv[], void *userdata) {
return 0;
}
- (void) emit_deprecation_warning();
-
for (;;) {
if (arg_exists && access(arg_exists, F_OK) >= 0)
return 0;