]> xenbits.xensource.com Git - people/dariof/xen-tools.git/commitdiff
unMountImage may fail if $CONFIG{FAIL} is already set
authorAxel Beckert <abe@deuxchevaux.org>
Thu, 17 Jan 2013 21:59:34 +0000 (22:59 +0100)
committerAxel Beckert <abe@deuxchevaux.org>
Thu, 17 Jan 2013 21:59:34 +0000 (22:59 +0100)
bin/xen-create-image

index d1dc7bb4ad7402dff18cc9fff30ea3580342e2d8..37b7023f0444a33f1b01c14e093de5d95e16130e 100755 (executable)
@@ -4111,7 +4111,7 @@ END
         } else {
             $host_rsa_key = "N/A";
         }
-        unMountImage($MOUNT_POINT);
+        unMountImage($MOUNT_POINT, $CONFIG{'FAIL'});
     }
 
     #