r198 - mdadm/trunk/debian
madduck at users.alioth.debian.org
madduck at users.alioth.debian.org
Thu Oct 5 06:24:27 UTC 2006
Author: madduck
Date: 2006-10-05 06:24:26 +0000 (Thu, 05 Oct 2006)
New Revision: 198
Modified:
mdadm/trunk/debian/checkarray
Log:
only read defaults if readable
Modified: mdadm/trunk/debian/checkarray
===================================================================
--- mdadm/trunk/debian/checkarray 2006-10-04 17:06:54 UTC (rev 197)
+++ mdadm/trunk/debian/checkarray 2006-10-05 06:24:26 UTC (rev 198)
@@ -92,7 +92,7 @@
}
DEBIANCONFIG=/etc/default/mdadm
-[ -f $DEBIANCONFIG ] && . $DEBIANCONFIG
+[ -r $DEBIANCONFIG ] && . $DEBIANCONFIG
if [ $cron = 1 ] && ! is_true ${AUTOCHECK:-false}; then
[ $quiet -lt 1 ] && echo "$PROGNAME: I: disabled in $DEBIANCONFIG ." >&2
exit 0
More information about the pkg-mdadm-commits
mailing list