From a9c52f52336f7e583cc9c66309b95fd7713b5d01 Mon Sep 17 00:00:00 2001 From: Eric Biggers Date: Sat, 18 May 2013 01:46:04 -0500 Subject: [PATCH] execute_add_command(): Correctly set WIMLIB_ADD_FLAG_ROOT --- src/update_image.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/update_image.c b/src/update_image.c index 317cca8a..8fa82c81 100644 --- a/src/update_image.c +++ b/src/update_image.c @@ -249,7 +249,7 @@ execute_add_command(WIMStruct *wim, } if (wim_target_path[0] == T('\0')) - add_flags |= WIMLIB_ADD_FLAG_ROOT; + params.add_flags |= WIMLIB_ADD_FLAG_ROOT; ret = (*capture_tree)(&branch, fs_source_path, ¶ms); if (ret) { ERROR("Failed to build dentry tree for \"%"TS"\"", -- 2.43.0