From 747c5e021df09572643c6a75e74a4e8f1a88f861 Mon Sep 17 00:00:00 2001 From: Eric Biggers Date: Sat, 3 Oct 2015 15:46:35 -0500 Subject: [PATCH] wimlib-imagex: don't do "metadata not found" warning if applying from stdin --- programs/imagex.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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: -- 2.43.0