From: Ulrich Ölmann Date: Thu, 21 Jul 2022 12:04:49 +0000 (+0200) Subject: man: document udevadm lock's exit code X-Git-Tag: v252-rc1~604 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=aa386add6772a41b3fcc2220d1c7f6d2d3b16c0a;p=thirdparty%2Fsystemd.git man: document udevadm lock's exit code --- diff --git a/man/udevadm.xml b/man/udevadm.xml index ba80e623829..47556ee9b36 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