git.samba.org
/
bbaumbach
/
samba-autobuild
/
.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Fix switching of hives in regshell (#5254)
[bbaumbach/samba-autobuild/.git]
/
source4
/
lib
/
registry
/
tools
/
regshell.c
diff --git
a/source4/lib/registry/tools/regshell.c
b/source4/lib/registry/tools/regshell.c
index 93f28f3e5a803766541a399ab53c7610f7941892..d5c506ab31d915655d29205d2a44d9252040522d 100644
(file)
--- a/
source4/lib/registry/tools/regshell.c
+++ b/
source4/lib/registry/tools/regshell.c
@@
-116,6
+116,9
@@
static WERROR cmd_predef(struct regshell_context *ctx, int argc, char **argv)
argv[1], win_errstr(error));
return error;
}
+
+ ctx->path = strupper_talloc(ctx, argv[1]);
+ ctx->current = ret;
}
return WERR_OK;