From 5f33545c78e13871d622c0a5a0ded789bf624869 Mon Sep 17 00:00:00 2001 From: Jelmer Vernooij Date: Mon, 11 Feb 2008 11:47:31 +0100 Subject: [PATCH] Fix switching of hives in regshell (#5254) --- source/lib/registry/tools/regshell.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/source/lib/registry/tools/regshell.c b/source/lib/registry/tools/regshell.c index 93f28f3e5a8..d5c506ab31d 100644 --- a/source/lib/registry/tools/regshell.c +++ b/source/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; -- 2.34.1