admin: Allow running status unlocked
It's useful to let non-root see the current system status. Closes: #515 Closes: #516 Approved by: jlebon
This commit is contained in:
parent
056ca71a3b
commit
6c84fa4366
|
|
@ -97,7 +97,7 @@ ot_admin_builtin_status (int argc, char **argv, GCancellable *cancellable, GErro
|
||||||
context = g_option_context_new ("List deployments");
|
context = g_option_context_new ("List deployments");
|
||||||
|
|
||||||
if (!ostree_admin_option_context_parse (context, options, &argc, &argv,
|
if (!ostree_admin_option_context_parse (context, options, &argc, &argv,
|
||||||
OSTREE_ADMIN_BUILTIN_FLAG_NONE,
|
OSTREE_ADMIN_BUILTIN_FLAG_UNLOCKED,
|
||||||
&sysroot, cancellable, error))
|
&sysroot, cancellable, error))
|
||||||
goto out;
|
goto out;
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue