diff options
author | Jelmer Vernooij <jelmer@samba.org> | 2008-02-11 11:47:31 +0100 |
---|---|---|
committer | Jelmer Vernooij <jelmer@samba.org> | 2008-02-11 11:48:43 +0100 |
commit | d82b6dd09adc0b30567ffcc9e47553eb3ed51b2a (patch) | |
tree | 195353b4cbc4e924803dd1bdb7dd8f1aa5f8c60b /source4 | |
parent | 176f32cc9755bfec73371a25955fe00ce8817041 (diff) | |
download | samba-d82b6dd09adc0b30567ffcc9e47553eb3ed51b2a.tar.gz samba-d82b6dd09adc0b30567ffcc9e47553eb3ed51b2a.tar.bz2 samba-d82b6dd09adc0b30567ffcc9e47553eb3ed51b2a.zip |
Fix switching of hives in regshell (#5254)
(This used to be commit 5f33545c78e13871d622c0a5a0ded789bf624869)
Diffstat (limited to 'source4')
-rw-r--r-- | source4/lib/registry/tools/regshell.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/source4/lib/registry/tools/regshell.c b/source4/lib/registry/tools/regshell.c index 93f28f3e5a..d5c506ab31 100644 --- 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; |