diff options
author | Yu Watanabe <watanabe.yu+github@gmail.com> | 2021-02-19 06:20:29 +0900 |
---|---|---|
committer | Yu Watanabe <watanabe.yu+github@gmail.com> | 2021-02-21 04:40:23 +0900 |
commit | 3f15ce66e05c33777d03d276e076b42c3fc4e991 (patch) | |
tree | 3cbb46770fff458e9da3058dbc4862ea4716e94e /units | |
parent | 6c99c26500886974287a1e755b4e2766dbf9b74c (diff) | |
download | systemd-3f15ce66e05c33777d03d276e076b42c3fc4e991.tar.gz |
unit: ignore exit code of "udevadm trigger"
Suggested at https://github.com/systemd/systemd/pull/18559#issuecomment-781626226.
Some drivers may be broken and return unexpected errors on triggering
events. That should be logged but should not boot-up to be affected.
Diffstat (limited to 'units')
-rw-r--r-- | units/systemd-udev-trigger.service | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/units/systemd-udev-trigger.service b/units/systemd-udev-trigger.service index 8b2d88e185..3d0f7b4f20 100644 --- a/units/systemd-udev-trigger.service +++ b/units/systemd-udev-trigger.service @@ -19,5 +19,5 @@ ConditionPathIsReadWrite=/sys [Service] Type=oneshot RemainAfterExit=yes -ExecStart=udevadm trigger --type=subsystems --action=add -ExecStart=udevadm trigger --type=devices --action=add +ExecStart=-udevadm trigger --type=subsystems --action=add +ExecStart=-udevadm trigger --type=devices --action=add |