admin: Initialize sysroot to / by default, not garbage from the stack
Oops.
This commit is contained in:
parent
60f5183298
commit
d5f1ce4e17
|
|
@ -52,7 +52,7 @@ ostree_builtin_admin (int argc, char **argv, GFile *repo_path, GError **error)
|
||||||
{
|
{
|
||||||
gboolean ret = FALSE;
|
gboolean ret = FALSE;
|
||||||
__attribute__((unused)) GCancellable *cancellable = NULL;
|
__attribute__((unused)) GCancellable *cancellable = NULL;
|
||||||
const char *opt_sysroot;
|
const char *opt_sysroot = "/";
|
||||||
const char *subcommand_name;
|
const char *subcommand_name;
|
||||||
OstreeAdminCommand *subcommand;
|
OstreeAdminCommand *subcommand;
|
||||||
int subcmd_argc;
|
int subcmd_argc;
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue