summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>2013-04-29 19:46:19 -0400
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>2013-04-29 19:52:30 -0400
commita827e37371be78ba7eda63fa6edca1074c431524 (patch)
treee843e06d7df03e22f865feffd7c5febe525076f7 /src
parentd7e011e5bfa3361faf52b7b2dbacd11373d7fb86 (diff)
man: clarify what Restart= means
Related to https://bugzilla.redhat.com/show_bug.cgi?id=957135.
Diffstat (limited to 'src')
-rw-r--r--src/core/service.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/core/service.c b/src/core/service.c
index cf0bbe05fc..5803f798e0 100644
--- a/src/core/service.c
+++ b/src/core/service.c
@@ -1466,6 +1466,9 @@ static int service_search_main_pid(Service *s) {
r = unit_watch_pid(UNIT(s), pid);
if (r < 0)
/* FIXME: we need to do something here */
+ log_warning_unit(UNIT(s)->id,
+ "Failed to watch PID %lu from service %s",
+ (unsigned long) pid, UNIT(s)->id);
return r;
return 0;