summaryrefslogtreecommitdiff
path: root/debian/mdadm.init
diff options
context:
space:
mode:
authormadduck <madduck@3cfab66f-1918-0410-86b3-c06b76f9a464>2006-12-19 08:18:50 +0000
committermadduck <madduck@3cfab66f-1918-0410-86b3-c06b76f9a464>2006-12-19 08:18:50 +0000
commitb82ce0c6d88d02eae029a2bfb17922cac9a43a2c (patch)
treefdd959fdaff3d40d9878e1104f9b1a6523945694 /debian/mdadm.init
parent06402eb87cdff4a5644375de962795482be86968 (diff)
* Hard-code path to /sbin/mdadm binary rather than searching the $PATH. This
closes: #403307 and should be a little more robust in the presence of installations of mdadm in /usr/local.
Diffstat (limited to 'debian/mdadm.init')
-rw-r--r--debian/mdadm.init2
1 files changed, 1 insertions, 1 deletions
diff --git a/debian/mdadm.init b/debian/mdadm.init
index 570b10f3..580ec30a 100644
--- a/debian/mdadm.init
+++ b/debian/mdadm.init
@@ -28,7 +28,7 @@ RUNDIR=/var/run/mdadm
PIDFILE=$RUNDIR/monitor.pid
DEBIANCONFIG=/etc/default/mdadm
-test -x $MDADM || exit 0
+test -x "$MDADM" || exit 0
test -f /proc/mdstat || exit 0