chiark / gitweb /
core: remove duplicate MESSAGE= from log message
authorMirco Tischler <mt-ml@gmx.de>
Thu, 25 Apr 2013 13:14:57 +0000 (15:14 +0200)
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Fri, 26 Apr 2013 01:50:48 +0000 (21:50 -0400)
This was needed with log_struct_unit() but log_notice_unit() adds it
anyway.

src/core/unit.c

index 7029b64..282852f 100644 (file)
@@ -1468,7 +1468,7 @@ void unit_notify(Unit *u, UnitActiveState os, UnitActiveState ns, bool reload_su
 
                 if (ns != os && ns == UNIT_FAILED) {
                         log_notice_unit(u->id,
-                                        "MESSAGE=Unit %s entered failed state.", u->id);
+                                        "Unit %s entered failed state.", u->id);
                         unit_start_on_failure(u);
                 }
         }