]> err.no Git - systemd/commit
udevadm: settle - fix timeout
authorAlan Jenkins <alan-jenkins@tuffmail.co.uk>
Wed, 20 May 2009 14:12:22 +0000 (16:12 +0200)
committerKay Sievers <kay.sievers@vrfy.org>
Wed, 20 May 2009 14:12:22 +0000 (16:12 +0200)
commitf58a9099bb2b18f3f683615324a4382b95446305
tree474bb567e1c44e46d08992d3e7591ef27db86fa4
parenta0ee5a05bb3a9a838c35e07ff7a0bb7bbd2d0c9b
udevadm: settle - fix timeout

The timeout wasn't working when settle was run as root:
  # udevadm control --stop-exec-queue
  # udevadm trigger
  # udevadm settle --timeout=1
  ... (hangs)

Signed-off-by: Alan Jenkins <alan-jenkins@tuffmail.co.uk>
udev/udevadm-settle.c