diff options
author | madduck <madduck@3cfab66f-1918-0410-86b3-c06b76f9a464> | 2006-10-06 12:34:35 +0000 |
---|---|---|
committer | madduck <madduck@3cfab66f-1918-0410-86b3-c06b76f9a464> | 2006-10-06 12:34:35 +0000 |
commit | de52a79c9bc6240f7d1b72a382ee5affebf74bdd (patch) | |
tree | 396706eddcad5d26ba6b004611e8b9c5c998fd91 /debian/mdadm.postinst | |
parent | d85dfc44812b2899f17759fe6d1a8eb100af09ff (diff) |
do not remove configuration file after mkconf failed
Diffstat (limited to 'debian/mdadm.postinst')
-rw-r--r-- | debian/mdadm.postinst | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/debian/mdadm.postinst b/debian/mdadm.postinst index 5230e2f4..cef8389b 100644 --- a/debian/mdadm.postinst +++ b/debian/mdadm.postinst @@ -54,8 +54,7 @@ case "${1:-}" in if /usr/share/mdadm/mkconf generate $CONFIG 2>/dev/null; then echo done. >&2 else - echo "failed (/proc probably not mounted)." >&2 - rm -f $CONFIG + echo "done (failed to scan arrays; /proc probably not mounted)." >&2 fi elif dpkg --compare-versions "${2:-2.5.3-1}" le 2.5.3-1; then # we're upgrading from before 2.5.3-1 and there's apparently already |