diff options
author | 2013-01-08 15:58:29 -0600 | |
---|---|---|
committer | 2013-01-08 15:58:29 -0600 | |
commit | 6a50f98947ea9b7173b2cbefec15e796e5b791fc (patch) | |
tree | a81a37ed1ef7e946dfaee603b73ea9f080230c9c | |
parent | udev: start udev from /lib/systemd if it exists there. (diff) | |
download | udev-gentoo-scripts-6a50f98947ea9b7173b2cbefec15e796e5b791fc.tar.gz udev-gentoo-scripts-6a50f98947ea9b7173b2cbefec15e796e5b791fc.tar.bz2 udev-gentoo-scripts-6a50f98947ea9b7173b2cbefec15e796e5b791fc.zip |
udev: return error if unable to find executable
-rw-r--r-- | init.d/udev | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/init.d/udev b/init.d/udev index 3459203..10adca2 100644 --- a/init.d/udev +++ b/init.d/udev @@ -96,8 +96,9 @@ start_pre() command="$f" fi done - if [ -n "$command" ]; then - command=/lib/systemd/systemd-udevd + if [ -z "$command" ]; then + eerror "Unable to find udev executable." + return 1 fi return 0 } |