diff options
author | Yu Watanabe <watanabe.yu+github@gmail.com> | 2022-08-28 00:33:15 +0900 |
---|---|---|
committer | Yu Watanabe <watanabe.yu+github@gmail.com> | 2022-08-29 13:40:54 +0900 |
commit | 6ecccf60d2497895a7665b70a0471da53f4dafb3 (patch) | |
tree | c39a59d7f04270664469dfb6e262270dedaefd6f /src/udev/udevadm-settle.c | |
parent | b72e5d9d8ef17d87b4e94c370e90545e47053329 (diff) | |
download | systemd-6ecccf60d2497895a7665b70a0471da53f4dafb3.tar.gz |
udevadm-settle: emit deprecated warning earlier
Diffstat (limited to 'src/udev/udevadm-settle.c')
-rw-r--r-- | src/udev/udevadm-settle.c | 4 |
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; |