summaryrefslogtreecommitdiff
path: root/debian/initramfs/hook
diff options
context:
space:
mode:
Diffstat (limited to 'debian/initramfs/hook')
-rw-r--r--debian/initramfs/hook2
1 files changed, 1 insertions, 1 deletions
diff --git a/debian/initramfs/hook b/debian/initramfs/hook
index 497151ab..e921880b 100644
--- a/debian/initramfs/hook
+++ b/debian/initramfs/hook
@@ -150,7 +150,7 @@ else
if [ $use_temp -eq 1 ]; then
tmpfile="${DESTMDADMCONF}.tmp"
- if /usr/share/mdadm/mkconf generate $tmpfile; then
+ if /usr/share/mdadm/mkconf > $tmpfile; then
# all is well, we now have a temporary configuration file
info "auto-generated temporary mdadm.conf configuration file." >&2
install_config $tmpfile $DESTMDADMCONF