[systemd-commits] TODO src/core

Lennart Poettering lennart at kemper.freedesktop.org
Fri Jun 28 09:37:29 PDT 2013


 TODO            |    5 ++---
 src/core/main.c |    2 +-
 2 files changed, 3 insertions(+), 4 deletions(-)

New commits:
commit 11ddb6f48e367ae4b51c31d199b28f5be041a301
Author: Lennart Poettering <lennart at poettering.net>
Date:   Fri Jun 28 18:37:15 2013 +0200

    main: fix loading of default target

diff --git a/TODO b/TODO
index 055d973..8a3df60 100644
--- a/TODO
+++ b/TODO
@@ -28,6 +28,8 @@ Fedora 19:
 
 Features:
 
+* transient units: allow creating auxiliary units with the same call
+
 * make BlockIODeviceWeight=, BlockIODeviceBandwidth= runtime settable
 
 * split up BlockIOWeight= and BlockIODeviceWeight=
@@ -44,9 +46,6 @@ Features:
 
 * split out CreateMachine into systemd-machined
 
-* "transient" units, i.e units that are not sourced from disk but
-  created only transiently via bus calls
-
 * introduce new Scope unit type then make logind's session and machine
   registration use this to set up cgroups
 
diff --git a/src/core/main.c b/src/core/main.c
index 102cc3b..2bd1efd 100644
--- a/src/core/main.c
+++ b/src/core/main.c
@@ -1679,7 +1679,7 @@ int main(int argc, char *argv[]) {
                                 log_error("Failed to load rescue target: %s", bus_error(&error, r));
                                 dbus_error_free(&error);
                                 goto finish;
-                        } else if (target->load_state == UNIT_ERROR || target->load_state == UNIT_ERROR) {
+                        } else if (target->load_state == UNIT_ERROR || target->load_state == UNIT_NOT_FOUND) {
                                 log_error("Failed to load rescue target: %s", strerror(-target->load_error));
                                 goto finish;
                         } else if (target->load_state == UNIT_MASKED) {



More information about the systemd-commits mailing list