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)
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Mon, 27 Jul 2020 08:26:32 +0000 (10:26 +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.

(cherry picked from commit 2233c2703c91325f8c742daf2d37c1343f35998e)

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>