docker: Don't ignore qemu-img errors master
authorGuido Günther <agx@sigxcpu.org>
Sat, 27 May 2017 16:16:46 +0000 (18:16 +0200)
committerGuido Günther <agx@sigxcpu.org>
Tue, 30 May 2017 06:15:14 +0000 (08:15 +0200)
libvirt-sandbox/image/sources/docker.py

index 43e9c32..aa5675e 100755 (executable)
@@ -662,7 +662,7 @@ class DockerSource(base.Source):
         cmd.append("-o")
         cmd.append("backing_fmt=qcow2,backing_file=%s" % diskfile)
         cmd.append(tempfile)
-        subprocess.call(cmd)
+        subprocess.check_call(cmd)
         return tempfile
 
     def get_command(self, template, templatedir, userargs):