summaryrefslogtreecommitdiff
path: root/debian
diff options
context:
space:
mode:
authorDimitri John Ledkov <xnox@ubuntu.com>2017-06-22 13:11:06 +0100
committerDimitri John Ledkov <xnox@ubuntu.com>2017-06-22 13:11:06 +0100
commitdceb3807b2988e207452d47d09c45e9460f0f7e5 (patch)
tree40f0b371d7bb4b66b0b4ba261ba3f15c3e504269 /debian
parent8d5da03b9dc03bf79d48edf1160c7e4d41c34809 (diff)
Fix checkaaray script. LP: #1599428
Diffstat (limited to 'debian')
-rw-r--r--debian/changelog1
-rw-r--r--debian/checkarray2
2 files changed, 2 insertions, 1 deletions
diff --git a/debian/changelog b/debian/changelog
index 8f61890e..8fcf8e1a 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -6,6 +6,7 @@ mdadm (4.0-1) UNRELEASED; urgency=medium
included in the initramfs.
* Add a warning to mkconf generated file that mdadm.conf is copied into
initrafms.
+ * Fix checkaaray script. LP: #1599428
-- Dimitri John Ledkov <xnox@ubuntu.com> Fri, 12 May 2017 12:31:46 +0100
diff --git a/debian/checkarray b/debian/checkarray
index 1fb97356..6b6857be 100644
--- a/debian/checkarray
+++ b/debian/checkarray
@@ -142,7 +142,7 @@ for array in $arrays; do
continue
fi
- read cur_status < $MDBASE/sync_action
+ cur_status="$(cat $MDBASE/sync_action)"
if [ $action = status ]; then
echo "$array: $cur_status"