[Dmraid-debian-commits] [SCM] Maintenance of the dmraid package	branch, master, updated. debian/1.0.0.rc15-10-2-g58a1426
    Giuseppe Iuculano 
    giuseppe at iuculano.it
       
    Sun Aug 23 15:53:33 UTC 2009
    
    
  
The following commit has been merged in the master branch:
commit 58a14262bcc77e31cd19303a283cc943de11d5d1
Author: Giuseppe Iuculano <giuseppe at iuculano.it>
Date:   Sun Aug 23 17:53:15 2009 +0200
    debian/initramfs/dmraid.initramfs-local-top/dmraid: Check the exit code before parsing output, thanks to Tormod Volden. (Closes: #542256) (LP: #415280, #376792)
diff --git a/debian/initramfs/dmraid.initramfs-local-top/dmraid b/debian/initramfs/dmraid.initramfs-local-top/dmraid
index d1a09a9..d162b5a 100644
--- a/debian/initramfs/dmraid.initramfs-local-top/dmraid
+++ b/debian/initramfs/dmraid.initramfs-local-top/dmraid
@@ -18,6 +18,8 @@ esac
 
 # Activate any dmraid arrays that were not identified by udev and vol_id.
 
-for dev in $(dmraid -r -c); do
-	dmraid-activate $dev
-done
+if devices=$(dmraid -r -c); then
+	for dev in $devices; do
+		dmraid-activate $dev
+	done
+fi
-- 
Maintenance of the dmraid package
    
    
More information about the Dmraid-debian-commits
mailing list