summaryrefslogtreecommitdiff
path: root/debian/mdadm-raid
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-raid
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-raid')
-rw-r--r--debian/mdadm-raid2
1 files changed, 1 insertions, 1 deletions
diff --git a/debian/mdadm-raid b/debian/mdadm-raid
index 2dc9756c..2b1eac79 100644
--- a/debian/mdadm-raid
+++ b/debian/mdadm-raid
@@ -29,7 +29,7 @@ CONFIG=/etc/mdadm/mdadm.conf
ALTCONFIG=/etc/mdadm.conf
DEBIANCONFIG=/etc/default/mdadm
-test -x $MDADM || exit 0
+test -x "$MDADM" || exit 0
AUTOSTART=true
test -f $DEBIANCONFIG && . $DEBIANCONFIG