From: Eric Biggers Date: Sat, 3 Oct 2015 20:46:35 +0000 (-0500) Subject: wimlib-imagex: don't do "metadata not found" warning if applying from stdin X-Git-Tag: v1.8.3~70 X-Git-Url: https://wimlib.net/git/?p=wimlib;a=commitdiff_plain;h=747c5e021df09572643c6a75e74a4e8f1a88f861 wimlib-imagex: don't do "metadata not found" warning if applying from stdin --- 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: