From 552cc00247c88d0c7dfde444da53ef1e5960ef5e Mon Sep 17 00:00:00 2001 From: Colin Guthrie Date: Sun, 6 Jan 2013 17:38:39 +0000 Subject: 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. --- mandriva/rc.modules | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'mandriva') 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 -- cgit v1.2.1