summaryrefslogtreecommitdiff
path: root/init.d
diff options
context:
space:
mode:
authorWilliam Hubbs <williamh@gentoo.org>2013-01-04 15:54:40 -0600
committerWilliam Hubbs <williamh@gentoo.org>2013-01-04 15:54:40 -0600
commit39c5e854a0400eb9b0c960d40d679a1fc7f1a71b (patch)
treec25059fdaf5001a0c215c38fa22bba75288c64ff /init.d
parentudev: move the code to search for the binary to start_pre (diff)
downloadudev-gentoo-scripts-39c5e854a0400eb9b0c960d40d679a1fc7f1a71b.tar.gz
udev-gentoo-scripts-39c5e854a0400eb9b0c960d40d679a1fc7f1a71b.tar.bz2
udev-gentoo-scripts-39c5e854a0400eb9b0c960d40d679a1fc7f1a71b.zip
udev: fail if unable to load the socket module
Diffstat (limited to 'init.d')
-rw-r--r--init.d/udev1
1 files changed, 1 insertions, 0 deletions
diff --git a/init.d/udev b/init.d/udev
index c25e586..601523c 100644
--- a/init.d/udev
+++ b/init.d/udev
@@ -82,6 +82,7 @@ start_pre()
if [ ! -e /proc/net/unix ]; then
if ! modprobe unix; then
eerror "Cannot load the unix domain socket module"
+ return 1
fi
fi