Fixed typo in error message by the way.
---
dracut-logger | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/dracut-logger b/dracut-logger
index 7bd2a7c..3bcce83 100755
--- a/dracut-logger
+++ b/dracut-logger
@@ -137,12 +137,12 @@ dlog_init() {
fi
if [ $sysloglvl -gt 0 ]; then
- if ! [ -c /dev/log -a -w /dev/log ] || ! command -v logger >/dev/null
+ if ! [ -S /dev/log -a -w /dev/log ] || ! command -v logger >/dev/null
then
# We cannot log to syslog, so turn this facility off.
sysloglvl=0
ret=1
- errmsg="No '/dev/log' or 'logger' not included for syslog logging"
+ errmsg="No '/dev/log' or 'logger' included for syslog logging"
fi
fi
--
1.7.4.1
--
To unsubscribe from this list: send the line "unsubscribe initramfs" in
the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html