From: Yigal Korman Date: Sun, 7 Jun 2020 18:46:59 +0000 (+0300) Subject: man: udevadm: mention non-zero exit code on settle X-Git-Tag: v246-rc1~183 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=2233c2703c91325f8c742daf2d37c1343f35998e;p=thirdparty%2Fsystemd.git man: udevadm: mention non-zero exit code on settle 'udevadm settle --timeout=XY' will return 1 in case the timeout was reached and the event queue was not empty. The manpage should mention it. --- diff --git a/man/udevadm.xml b/man/udevadm.xml index c2f2bc95d21..a716b1819d7 100644 --- a/man/udevadm.xml +++ b/man/udevadm.xml @@ -359,7 +359,9 @@ Maximum number of seconds to wait for the event queue to become empty. The default value is 120 seconds. A value of 0 will check if the queue is empty and always - return immediately. + return immediately. A non-zero value will return an exit + code of 0 if queue became empty before timeout was reached, + non-zero otherwise.