aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorColin Guthrie <colin@mageia.org>2013-01-06 17:38:39 +0000
committerColin Guthrie <colin@mageia.org>2013-01-06 17:38:39 +0000
commit552cc00247c88d0c7dfde444da53ef1e5960ef5e (patch)
treecf985e1fbc698e5147193cf695f2193e7a3b39c8
parent3cd724032b2ea29b5df156327712b0e4f9559e96 (diff)
downloadinitscripts-552cc00247c88d0c7dfde444da53ef1e5960ef5e.tar
initscripts-552cc00247c88d0c7dfde444da53ef1e5960ef5e.tar.gz
initscripts-552cc00247c88d0c7dfde444da53ef1e5960ef5e.tar.bz2
initscripts-552cc00247c88d0c7dfde444da53ef1e5960ef5e.tar.xz
initscripts-552cc00247c88d0c7dfde444da53ef1e5960ef5e.zip
Don't hide modprobe errors when handling modprobe.preload
Also no need to shell out to logger as this is typically started by systemd and thus any stderr output will end up in the journal (and by extension syslog if it's installed). Might help avoid numerous reports of the service 'failing' as indicated in mga#8472.
-rw-r--r--mandriva/rc.modules4
1 files changed, 2 insertions, 2 deletions
diff --git a/mandriva/rc.modules b/mandriva/rc.modules
index da5619d1..fadc9804 100644
--- a/mandriva/rc.modules
+++ b/mandriva/rc.modules
@@ -40,5 +40,5 @@ done
[ -z "$TOLOAD" ] && exit 0
-logger -t $0 "Loading modules:"$TOLOAD
-/sbin/modprobe -a $TOLOAD 2>/dev/null
+echo "Loading modules:"$TOLOAD >&2
+/sbin/modprobe -a $TOLOAD