]> git.pld-linux.org Git - packages/systemd.git/commitdiff
- rel 1 auto/th/systemd-42-1
authorJan Rękorajski <baggins@pld-linux.org>
Sun, 12 Feb 2012 16:17:33 +0000 (16:17 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
- assert programming rulz

Changed files:
    shut-sysv-up.patch -> 1.5
    systemd.spec -> 1.114

shut-sysv-up.patch
systemd.spec

index dd49b21f99acd17107e4b3a0b4afe6db9131d72f..b9a6b29d675cc2f8d66cce6ee3ac5bf1dd0ed64e 100644 (file)
@@ -1,14 +1,16 @@
 diff -urNp systemd-37.orig/src/unit.c systemd-37/src/unit.c
 --- systemd-37.orig/src/unit.c 2011-09-23 16:28:27.000000000 +0200
 +++ systemd-37/src/unit.c      2011-12-05 21:37:15.000000000 +0100
-@@ -2432,7 +2432,12 @@ void unit_status_printf(Unit *u, const c
+@@ -2432,7 +2432,14 @@ void unit_status_printf(Unit *u, const c
          assert(u);
          assert(format);
  
 -        if (!UNIT_VTABLE(u)->show_status)
 +        if (!UNIT_VTABLE(u)->show_status
 +            || (u->manager->sysv_console
-+                && (startswith(u->description, "SYSV: ") || startswith(u->description, "LSB: "))
++                && (u->description != NULL
++                    && (startswith(u->description, "SYSV: ")
++                        || startswith(u->description, "LSB: ")))
 +                && (u->job == NULL || u->job->result == JOB_DONE)
 +                && UNIT_VTABLE(u)->active_state(u) != UNIT_FAILED
 +                && LOG_PRI(log_get_max_level()) <= LOG_INFO))
index 99801a69011ab337e36220be5ecd96ee0e208bab..f29610454fe5d5e230bcf81106a68c3e988a793c 100644 (file)
@@ -17,7 +17,7 @@ Summary:      A System and Service Manager
 Summary(pl.UTF-8):     systemd - zarządca systemu i usług dla Linuksa
 Name:          systemd
 Version:       42
-Release:       0.1
+Release:       1
 License:       GPL v2+
 Group:         Base
 Source0:       http://www.freedesktop.org/software/systemd/%{name}-%{version}.tar.xz
This page took 0.041517 seconds and 4 git commands to generate.