admin: Initialize sysroot to / by default, not garbage from the stack
Oops.
This commit is contained in:
1 parent
60f5183298
commit
d5f1ce4e17
1 file changed
+1
-1
@@ -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;
|
||||||
|
|||||||
Reference in new issue
Block a user