summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--debian/changelog2
-rw-r--r--debian/mdadm-raid2
2 files changed, 3 insertions, 1 deletions
diff --git a/debian/changelog b/debian/changelog
index cbb812e9..60619bd4 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -15,6 +15,8 @@ mdadm (2.6.4-2) unstable; urgency=low
* Portuguese. Closes: #466794
* German. Closes: #466989
* Vietnamese. Closes: #467118
+ * Fixed bashism in mdadm-raid init.d script; thanks to Raphael Geisser
+ (closes: #471874).
-- martin f. krafft <madduck@debian.org> Fri, 11 Apr 2008 10:48:45 +0200
diff --git a/debian/mdadm-raid b/debian/mdadm-raid
index dd0f206e..08609674 100644
--- a/debian/mdadm-raid
+++ b/debian/mdadm-raid
@@ -38,7 +38,7 @@ test -f $DEBIANCONFIG && . $DEBIANCONFIG
short_dev()
{
- local dev=${1##*/}
+ local dev; dev=${1##*/}
case "$dev" in
md*|md_*|mdp*|mdp_*) echo "$dev";;
d*) echo "md_${dev}";;