diff options
author | William Hubbs <w.d.hubbs@gmail.com> | 2016-11-10 11:14:39 -0600 |
---|---|---|
committer | William Hubbs <w.d.hubbs@gmail.com> | 2016-11-10 11:14:54 -0600 |
commit | 413b37eb25f384129326b033de369be4b725c7e0 (patch) | |
tree | ce6ddf7a840f84719b7773134f91ef488be48107 | |
parent | init.d/udev-settle: typo fix (diff) | |
download | udev-gentoo-scripts-413b37eb25f384129326b033de369be4b725c7e0.tar.gz udev-gentoo-scripts-413b37eb25f384129326b033de369be4b725c7e0.tar.bz2 udev-gentoo-scripts-413b37eb25f384129326b033de369be4b725c7e0.zip |
udev-trigger: allow failure if udevadm exits with non-zero status32
-rw-r--r-- | init.d/udev-trigger | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/init.d/udev-trigger b/init.d/udev-trigger index 0f69455..bdd4884 100644 --- a/init.d/udev-trigger +++ b/init.d/udev-trigger @@ -84,13 +84,13 @@ start() einfo "Setting /dev permissions and symbolic links" udevadm trigger --attr-match=dev --action=add udevadm trigger --subsystem-match=net --action=add + rc=$? ewarn "Skipping udev coldplug sequence" - return 0 + return $rc fi ebegin "Populating /dev with existing devices through uevents" udevadm trigger --type=subsystems --action=add udevadm trigger --type=devices --action=add eend $? - return 0 } |