diff options
Diffstat (limited to 'src/cmd-version.c')
| -rw-r--r-- | src/cmd-version.c | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/src/cmd-version.c b/src/cmd-version.c index fc9b7a8..5796a72 100644 --- a/src/cmd-version.c +++ b/src/cmd-version.c @@ -45,10 +45,15 @@ unsigned cmd_version_list_local(struct l2_context_node *ctx, char **args) json_dumpf(manifest, stdout, JSON_INDENT(4)); putchar('\n'); - if (l2_runtime_install_component(manifest, "jre-legacy") < 0) { + char *jrepath = NULL; + + if (l2_runtime_install_component(manifest, "jre-legacy", &jrepath) < 0) { CMD_FATAL0("Failed to install component"); } + CMD_DEBUG("JRE path: %s", jrepath); + + free(jrepath); json_decref(manifest); return CMD_RESULT_SUCCESS; |
