projects
/
ostree.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
077de8e
)
bin/admin: Don't require root for instutil
author
Jonathan Lebon
<jlebon@redhat.com>
Tue, 5 Sep 2017 18:27:20 +0000
(14:27 -0400)
committer
Atomic Bot
<atomic-devel@projectatomic.io>
Wed, 13 Sep 2017 14:32:20 +0000
(14:32 +0000)
Otherwise, we can't even do `--help` on it. The subcommands all already
have the root flag set.
Closes: #1126
Approved by: cgwalters
src/ostree/ot-admin-builtin-instutil.c
patch
|
blob
|
history
diff --git
a/src/ostree/ot-admin-builtin-instutil.c
b/src/ostree/ot-admin-builtin-instutil.c
index 2baa27f7f5d8446e56d8e7feb5a427e605a417e3..7b446e939ef3fd70d0ff08e2a401edea108e4995 100644
(file)
--- 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)