Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:Leap:42.1:Rings:1-MinimalX
systemd-mini
0007-service-flush-status-text-and-errno-values...
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File 0007-service-flush-status-text-and-errno-values-each-time.patch of Package systemd-mini
From 8cfdb077b8e3da1c47fc1d735d051f21f33144c1 Mon Sep 17 00:00:00 2001 From: Lennart Poettering <lennart@poettering.net> Date: Mon, 7 Jul 2014 17:33:46 +0200 Subject: [PATCH] service: flush status text and errno values each time a service is started We shouldn't show status texts from previous service starts --- src/core/service.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git src/core/service.c src/core/service.c index d5aff99..0f542ed 100644 --- src/core/service.c +++ src/core/service.c @@ -1699,6 +1699,10 @@ static int service_start(Unit *u) { s->main_pid_alien = false; s->forbid_restart = false; + free(s->status_text); + s->status_text = NULL; + s->status_errno = 0; + service_enter_start_pre(s); return 0; } -- 1.7.9.2
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor