]> git.ipfire.org Git - thirdparty/systemd.git/commitdiff
man: udevadm: mention non-zero exit code on settle
authorYigal Korman <ykorman@gmail.com>
Sun, 7 Jun 2020 18:46:59 +0000 (21:46 +0300)
committerLennart Poettering <lennart@poettering.net>
Tue, 9 Jun 2020 15:31:49 +0000 (17:31 +0200)
'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.

man/udevadm.xml

index c2f2bc95d217dcb0a43e5ff0554ff769e6f9703f..a716b1819d783cdc8a67e788c89c23d20523b288 100644 (file)
             <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>