]> git.pld-linux.org Git - packages/systemd.git/blob - shut-sysv-up.patch
- be precise
[packages/systemd.git] / shut-sysv-up.patch
1 diff -urNp systemd-37.orig/src/unit.c systemd-37/src/unit.c
2 --- systemd-37.orig/src/unit.c  2011-09-23 16:28:27.000000000 +0200
3 +++ systemd-37/src/unit.c       2011-12-05 21:37:15.000000000 +0100
4 @@ -2432,7 +2432,7 @@ void unit_status_printf(Unit *u, const c
5          assert(u);
6          assert(format);
7  
8 -        if (!UNIT_VTABLE(u)->show_status)
9 +        if (!UNIT_VTABLE(u)->show_status || (u->manager->sysv_console && u->service.sysv_path && (u->job==NULL || u->job->result==JOB_DONE) && UNIT_VTABLE(u)->active_state(u)!=UNIT_FAILED && LOG_PRI(log_get_max_level()) <= LOG_INFO))
10                  return;
11  
12          if (!manager_get_show_status(u->manager))
This page took 0.024437 seconds and 3 git commands to generate.