r192 - mdadm/trunk/debian

madduck at users.alioth.debian.org madduck at users.alioth.debian.org
Fri Sep 29 14:18:44 UTC 2006


Author: madduck
Date: 2006-09-29 14:18:44 +0000 (Fri, 29 Sep 2006)
New Revision: 192

Modified:
   mdadm/trunk/debian/mdadm.config
Log:
do not fail when root cannot be determined

Modified: mdadm/trunk/debian/mdadm.config
===================================================================
--- mdadm/trunk/debian/mdadm.config	2006-09-23 21:54:33 UTC (rev 191)
+++ mdadm/trunk/debian/mdadm.config	2006-09-29 14:18:44 UTC (rev 192)
@@ -80,7 +80,7 @@
   get_root_raiddev || echo all
 }
 
-[ -z "$INITRDSTART" ] && INITRDSTART="$(get_initrdstart)"
+[ -z "$INITRDSTART" ] && INITRDSTART="$(get_initrdstart)" || :
 [ -n "$INITRDSTART" ] && db_set mdadm/initrdstart "$INITRDSTART"
 
 db_capb escape




More information about the pkg-mdadm-commits mailing list