martin f. krafft: Fixed a typo in checkarray; thanks to Helmut Grohne ( closes: #445540).

Martin F. Krafft madduck at alioth.debian.org
Wed Jun 25 15:42:35 UTC 2008


Module: mdadm
Branch: build
Commit: fc5751679c1f3db83bec696e2b0fd71b39637e88
URL:    http://git.debian.org/?p=pkg-mdadm/mdadm.git;a=commit;h=fc5751679c1f3db83bec696e2b0fd71b39637e88

Author: martin f. krafft <madduck at madduck.net>
Date:   Tue Jun 24 20:34:29 2008 +0100

Fixed a typo in checkarray; thanks to Helmut Grohne (closes: #445540).

---

 debian/changelog  |    1 +
 debian/checkarray |    2 +-
 2 files changed, 2 insertions(+), 1 deletions(-)

diff --git a/debian/changelog b/debian/changelog
index e1fdd18..2b0b37c 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -4,6 +4,7 @@ mdadm (2.6.7-1) UNRELEASED; urgency=low
     - fixes a segfault when reading /proc/mdstat (closes: #462154).
     - fixes a possible bug with v1 bitmap space allocation (closes: #474548).
     - supports large files for loop assembly (closes: #463769).
+  * Fixed a typo in checkarray; thanks to Helmut Grohne (closes: #445540).
   * Updated debconf translations:
     - Spanish; thanks to Javier Fernández-Sanguino (closes: #477920).
     - Basque; thanks to Piarres Beobide (closes: #478676).
diff --git a/debian/checkarray b/debian/checkarray
index 001b4dd..afd1a5a 100644
--- a/debian/checkarray
+++ b/debian/checkarray
@@ -79,7 +79,7 @@ for opt in $@; do
     /dev/md*|md*) arrays="${arrays:+$arrays }${opt#/dev/}";;
     /sys/block/md*) arrays="${arrays:+$arrays }${opt#/sys/block/}";;
     --) :;;
-    *) echo "$PROGNAME: E: invalid option: $opt" >&2; usage >&2; exit0;;
+    *) echo "$PROGNAME: E: invalid option: $opt" >&2; usage >&2; exit 0;;
   esac
 done
 




More information about the pkg-mdadm-commits mailing list