From a431d8f00f1da9ba63e322edf92a069db5603954 Mon Sep 17 00:00:00 2001
From: moebius/ALUG <fs11linux.20.masuefke@spamgourmet.com>
Date: Thu, 26 Mar 2015 20:53:52 +0100
Subject: [PATCH] Image writer: ignore partx add problems

---
 MassStorageCloner/blkwrite.sh | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/MassStorageCloner/blkwrite.sh b/MassStorageCloner/blkwrite.sh
index 4003234..9485669 100755
--- a/MassStorageCloner/blkwrite.sh
+++ b/MassStorageCloner/blkwrite.sh
@@ -57,7 +57,7 @@ if [ "x${TGT%%[0-9]*}" == "x$TGT" ]
 then
   # have a "master" block device
   echo "adding partitions for $TGT with partx"
-  partx -a "$TGT"
+  partx -a "$TGT" || true
 fi
 
 if [ x$res == x0 ]
-- 
GitLab