]> git.ipfire.org Git - thirdparty/systemd.git/commit
udevadm-trigger: reject invalid wait-daemon timeout 42997/head
authordongshengyuan <545258830@qq.com>
Mon, 13 Jul 2026 02:53:48 +0000 (10:53 +0800)
committerdongshengyuan <545258830@qq.com>
Mon, 13 Jul 2026 04:18:49 +0000 (12:18 +0800)
commit4106cf743989e1460ef247c56e9341bb8f720da2
tree599ea6175ddf61f547f4a9339ac49564726982a8
parent20e1e2de67720f2b6521054dbffa26e27a0d3f8d
udevadm-trigger: reject invalid wait-daemon timeout

Return from argument parsing when --wait-daemon= cannot be parsed.

This matches the other timeout options.

Reproducer:
  udevadm trigger --dry-run --wait-daemon=bad

Before:
  Failed to parse timeout value 'bad', ignoring: Invalid argument

Follow-up:
  2001622c58c1989f386086d11bd2a00d5fe00a30
src/udev/udevadm-trigger.c
test/units/TEST-17-UDEV.sanity-check.sh