X-Git-Url: https://wimlib.net/git/?a=blobdiff_plain;f=programs%2Fimagex.c;h=30ffd3740cae2ff2cf554ff5ea874eba5bb273cd;hb=refs%2Ftags%2Fv1.2.4;hp=30c2e3e8b289e9cd6b4995dfd0d9332e2a3f2814;hpb=cecdece7933824c248a1b07021ce576f0f9d6892;p=wimlib diff --git a/programs/imagex.c b/programs/imagex.c index 30c2e3e8..30ffd374 100644 --- a/programs/imagex.c +++ b/programs/imagex.c @@ -1011,7 +1011,7 @@ static int imagex_export(int argc, const char **argv) ret = file_writable(dest_wimfile); if (ret != 0) - return ret; + goto out; dest_ctype = wimlib_get_compression_type(dest_w); if (compression_type_specified