summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYigal Korman <ykorman@gmail.com>2020-06-07 21:46:59 +0300
committerLennart Poettering <lennart@poettering.net>2020-06-09 17:31:49 +0200
commit2233c2703c91325f8c742daf2d37c1343f35998e (patch)
treea624347a31250793500a031f43614bbcd80e7445
parent60b316b1e969d3e1e54970184102bf30dda53b25 (diff)
downloadsystemd-2233c2703c91325f8c742daf2d37c1343f35998e.tar.gz
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.
-rw-r--r--man/udevadm.xml4
1 files changed, 3 insertions, 1 deletions
diff --git a/man/udevadm.xml b/man/udevadm.xml
index c2f2bc95d2..a716b1819d 100644
--- a/man/udevadm.xml
+++ b/man/udevadm.xml
@@ -359,7 +359,9 @@
<para>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.</para>
+ return immediately. A non-zero value will return an exit
+ code of 0 if queue became empty before timeout was reached,
+ non-zero otherwise.</para>
</listitem>
</varlistentry>
<varlistentry>