summaryrefslogtreecommitdiff
path: root/src/boot
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2017-12-15 10:29:21 +0100
committerGitHub <noreply@github.com>2017-12-15 10:29:21 +0100
commitb794712a1ce4f306fe08c722b6c1d05cc1e81ee5 (patch)
treec67b7779041c913f70ac820fb3714c8909efd334 /src/boot
parentde68b6a79678828c4a7deac1f4eed24ed163348b (diff)
parentc56d1e2c1b01306fdf1c6378335ce32b07aefad7 (diff)
downloadsystemd-b794712a1ce4f306fe08c722b6c1d05cc1e81ee5.tar.gz
Merge pull request #7631 from cgwalters/systemctl-offline
systemctl,verbs: Introduce SYSTEMCTL_OFFLINE environment variable
Diffstat (limited to 'src/boot')
-rw-r--r--src/boot/bootctl.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/boot/bootctl.c b/src/boot/bootctl.c
index 59c1af73de..525470f096 100644
--- a/src/boot/bootctl.c
+++ b/src/boot/bootctl.c
@@ -1139,12 +1139,12 @@ static int verb_remove(int argc, char *argv[], void *userdata) {
static int bootctl_main(int argc, char *argv[]) {
static const Verb verbs[] = {
- { "help", VERB_ANY, VERB_ANY, 0, help },
- { "status", VERB_ANY, 1, VERB_DEFAULT, verb_status },
- { "list", VERB_ANY, 1, 0, verb_list },
- { "install", VERB_ANY, 1, VERB_MUSTBEROOT, verb_install },
- { "update", VERB_ANY, 1, VERB_MUSTBEROOT, verb_install },
- { "remove", VERB_ANY, 1, VERB_MUSTBEROOT, verb_remove },
+ { "help", VERB_ANY, VERB_ANY, 0, help },
+ { "status", VERB_ANY, 1, VERB_DEFAULT, verb_status },
+ { "list", VERB_ANY, 1, 0, verb_list },
+ { "install", VERB_ANY, 1, VERB_MUST_BE_ROOT, verb_install },
+ { "update", VERB_ANY, 1, VERB_MUST_BE_ROOT, verb_install },
+ { "remove", VERB_ANY, 1, VERB_MUST_BE_ROOT, verb_remove },
{}
};