From 2233c2703c91325f8c742daf2d37c1343f35998e Mon Sep 17 00:00:00 2001 From: Yigal Korman Date: Sun, 7 Jun 2020 21:46:59 +0300 Subject: 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. --- man/udevadm.xml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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 @@ 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. -- cgit v1.2.1