diff options
author | Michael Tokarev <mjt@tls.msk.ru> | 2012-10-20 19:21:15 +0400 |
---|---|---|
committer | Michael Tokarev <mjt@tls.msk.ru> | 2012-10-20 19:21:15 +0400 |
commit | 28dd4ba9eaf08c71d53ef126d30188634e03b753 (patch) | |
tree | a0edfceb8e26875d53867fb15b7df26b684f818c /debian | |
parent | d2bafb1f06386f210bbc1429db415fa9ffd5f181 (diff) |
fix `/etc/init.d/mdadm-raid status' inverse logic (Closes: #686100)
Diffstat (limited to 'debian')
-rw-r--r-- | debian/changelog | 6 | ||||
-rw-r--r-- | debian/mdadm-raid | 2 |
2 files changed, 7 insertions, 1 deletions
diff --git a/debian/changelog b/debian/changelog index 8de7b4f4..9a8339d2 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,3 +1,9 @@ +mdadm (3.2.5-4) UNRELEASED; urgency=low + + * fix `/etc/init.d/mdadm-raid status' inverse logic (Closes: #686100) + + -- Michael Tokarev <mjt@tls.msk.ru> Sat, 20 Oct 2012 19:20:12 +0400 + mdadm (3.2.5-3) unstable; urgency=low * revert "Drop unused debconf templates" change -- the templates diff --git a/debian/mdadm-raid b/debian/mdadm-raid index 7c105e7a..0c0cad52 100644 --- a/debian/mdadm-raid +++ b/debian/mdadm-raid @@ -249,7 +249,7 @@ case "${1:-}" in ;; status) - if [ -f /proc/mdstat ]; then + if [ ! -f /proc/mdstat ]; then log_problem "no MD subsystem loaded" exit 1 else |