diff options
author | madduck <madduck@3cfab66f-1918-0410-86b3-c06b76f9a464> | 2006-11-11 19:14:36 +0000 |
---|---|---|
committer | madduck <madduck@3cfab66f-1918-0410-86b3-c06b76f9a464> | 2006-11-11 19:14:36 +0000 |
commit | 0a80972f381e22a6450ac7364d2847f8a54daa9c (patch) | |
tree | 8e0177e20873fd88cb30ac1128cea9695ae436c4 /debian/initramfs | |
parent | 86b61328c5611df88d0646f46fdd8a9d1f359ae0 (diff) |
* Actually remove mdadm.conf on purge; previously, the generation of
a temporary file for initramfs would screw up the purging; thanks to
Fabrice Lorrain for the report (closes: #398088).
Diffstat (limited to 'debian/initramfs')
-rw-r--r-- | debian/initramfs/hook | 2 |
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 |