From aa386add6772a41b3fcc2220d1c7f6d2d3b16c0a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ulrich=20=C3=96lmann?= Date: Thu, 21 Jul 2022 14:04:49 +0200 Subject: [PATCH] man: document udevadm lock's exit code --- man/udevadm.xml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/man/udevadm.xml b/man/udevadm.xml index ba80e62382..47556ee9b3 100644 --- a/man/udevadm.xml +++ b/man/udevadm.xml @@ -803,7 +803,8 @@ udevadm lock takes an (advisory) exclusive lock(s) on a block device (or multiple thereof), as per Locking Block Device Access and invokes a program with the lock(s) taken. When the invoked program exits the lock(s) - are automatically released. + are automatically released and its return value is propagated as exit code of udevadm + lock. This tool is in particular useful to ensure that systemd-udevd.service8