summaryrefslogtreecommitdiff
path: root/src/core/main.c
diff options
context:
space:
mode:
author0xAX <0xAX@users.noreply.github.com>2016-08-01 13:38:25 +0300
committerLennart Poettering <lennart@poettering.net>2016-08-01 12:38:25 +0200
commit494294d6f88612c20339cc34e4ef893a14565a0f (patch)
treed8600136efa1223a492099e50e20f46c51975a9d /src/core/main.c
parentef892eae20a0206f4582680a18dd41abaca8867f (diff)
main: get rid of ACTION_DONE (#3849)
the ACTION_DONE was introduced in the 4288f61921 (dbus: automatically generate and install introspection files ) commit and was used in systemd --introspect command. Later 'introspect' command was removed in the ca2871d9b (bus: remove static introspection file export) commit and have no users anymore. So we can remove it.
Diffstat (limited to 'src/core/main.c')
-rw-r--r--src/core/main.c6
1 files changed, 1 insertions, 5 deletions
diff --git a/src/core/main.c b/src/core/main.c
index f2adca7d2b..74b8ea139f 100644
--- a/src/core/main.c
+++ b/src/core/main.c
@@ -92,8 +92,7 @@ static enum {
ACTION_HELP,
ACTION_VERSION,
ACTION_TEST,
- ACTION_DUMP_CONFIGURATION_ITEMS,
- ACTION_DONE
+ ACTION_DUMP_CONFIGURATION_ITEMS
} arg_action = ACTION_RUN;
static char *arg_default_unit = NULL;
static bool arg_system = false;
@@ -1618,9 +1617,6 @@ int main(int argc, char *argv[]) {
unit_dump_config_items(stdout);
retval = EXIT_SUCCESS;
goto finish;
- } else if (arg_action == ACTION_DONE) {
- retval = EXIT_SUCCESS;
- goto finish;
}
if (!arg_system &&