]> wimlib.net Git - wimlib/blobdiff - programs/imagex.c
Various fixes
[wimlib] / programs / imagex.c
index ffd0d9451e0ebaf64493e3eb9ca98db54c9cb971..f83bbb0b1ded60aad5ba178557a264868df66b8f 100644 (file)
@@ -699,6 +699,7 @@ static int imagex_export(int argc, const char **argv)
                        imagex_error("Cannot specify a compression type that is "
                                     "not the same as that used in the "
                                     "destination WIM");
+                       ret = -1;
                        goto done;
                }
                compression_type = wimlib_get_compression_type(dest_w);