git://wimlib.net
/
wimlib
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
786f21d
)
execute_add_command(): Correctly set WIMLIB_ADD_FLAG_ROOT
author
Eric Biggers
<ebiggers3@gmail.com>
Sat, 18 May 2013 06:46:04 +0000
(
01:46
-0500)
committer
Eric Biggers
<ebiggers3@gmail.com>
Sat, 18 May 2013 06:46:04 +0000
(
01:46
-0500)
src/update_image.c
patch
|
blob
|
history
diff --git
a/src/update_image.c
b/src/update_image.c
index 317cca8a51d6c10cd99321cf33a78227f298b913..8fa82c8182146c1a9079d568283f28a7104e2bca 100644
(file)
--- 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"\"",