X-Git-Url: https://wimlib.net/git/?p=wimlib;a=blobdiff_plain;f=programs%2Fimagex.c;h=a086558cfedb80120440ad1202936ed93cde1ddf;hp=84f7b8e0ff7202c2d5757f6ced71710a1726307e;hb=747c5e021df09572643c6a75e74a4e8f1a88f861;hpb=ae3d6ff16ece0fdf302cfe3ce0204d6ba172adf9 diff --git a/programs/imagex.c b/programs/imagex.c index 84f7b8e0..a086558c 100644 --- a/programs/imagex.c +++ b/programs/imagex.c @@ -1769,7 +1769,7 @@ imagex_apply(int argc, tchar **argv, int cmd) " make sure you have " "concatenated together all parts.")); } - } else if (ret == WIMLIB_ERR_METADATA_NOT_FOUND) { + } else if (ret == WIMLIB_ERR_METADATA_NOT_FOUND && wim) { do_metadata_not_found_warning(wimfile, &info); } out_wimlib_free: