X-Git-Url: https://wimlib.net/git/?p=wimlib;a=blobdiff_plain;f=programs%2Fimagex.c;h=30ffd3740cae2ff2cf554ff5ea874eba5bb273cd;hp=30c2e3e8b289e9cd6b4995dfd0d9332e2a3f2814;hb=084039079380f71fd330ba0fed5a58548ddf0587;hpb=a911e31d082f3f6a2ca6e8e56df9bf5c2638cbb7 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