summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJonathan Lebon <jlebon@redhat.com>2017-09-05 14:27:20 -0400
committerAtomic Bot <atomic-devel@projectatomic.io>2017-09-13 14:32:20 +0000
commit4efab3feb07487cec80823ddfe48f32f2853e746 (patch)
treecba7394f7907f659d33198bfd4579efb4eeaca85
parent077de8ea460562c9372f45b13a9b42867f9ad832 (diff)
downloadostree-4efab3feb07487cec80823ddfe48f32f2853e746.tar.gz
bin/admin: Don't require root for instutil
Otherwise, we can't even do `--help` on it. The subcommands all already have the root flag set. Closes: #1126 Approved by: cgwalters
-rw-r--r--src/ostree/ot-admin-builtin-instutil.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ostree/ot-admin-builtin-instutil.c b/src/ostree/ot-admin-builtin-instutil.c
index 2baa27f7..7b446e93 100644
--- a/src/ostree/ot-admin-builtin-instutil.c
+++ b/src/ostree/ot-admin-builtin-instutil.c
@@ -106,7 +106,7 @@ ot_admin_builtin_instutil (int argc, char **argv, GCancellable *cancellable, GEr
/* This will not return for some options (e.g. --version). */
if (ostree_admin_option_context_parse (context, NULL, &argc, &argv,
- OSTREE_ADMIN_BUILTIN_FLAG_SUPERUSER | OSTREE_ADMIN_BUILTIN_FLAG_UNLOCKED,
+ OSTREE_ADMIN_BUILTIN_FLAG_UNLOCKED,
NULL, cancellable, error))
{
if (subcommand_name == NULL)