r206 - mdadm/trunk/debian

madduck at users.alioth.debian.org madduck at users.alioth.debian.org
Fri Oct 6 12:34:36 UTC 2006


Author: madduck
Date: 2006-10-06 12:34:35 +0000 (Fri, 06 Oct 2006)
New Revision: 206

Modified:
   mdadm/trunk/debian/mdadm.postinst
Log:
do not remove configuration file after mkconf failed

Modified: mdadm/trunk/debian/mdadm.postinst
===================================================================
--- mdadm/trunk/debian/mdadm.postinst	2006-10-06 12:32:49 UTC (rev 205)
+++ mdadm/trunk/debian/mdadm.postinst	2006-10-06 12:34:35 UTC (rev 206)
@@ -54,8 +54,7 @@
       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




More information about the pkg-mdadm-commits mailing list