projects
/
oweals
/
procd.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
153820c
)
instance: fix typo in error message
author
Petr Štetiar
<ynezz@true.cz>
Fri, 10 Jan 2020 21:56:31 +0000
(22:56 +0100)
committer
Petr Štetiar
<ynezz@true.cz>
Sat, 18 Jan 2020 14:10:22 +0000
(15:10 +0100)
Fixes `removed` to proper `remove` in "Failed to removed pidfile".
Fixes:
b12bb150ed38
("procd: service: Support writing pidfiles")
Signed-off-by: Petr Štetiar <ynezz@true.cz>
service/instance.c
patch
|
blob
|
history
diff --git
a/service/instance.c
b/service/instance.c
index 342199a47370aaef4159b249de6edd9315b33fe5..ee258687c3cf8f1202a01d848c88217b2a793fdb 100644
(file)
--- a/
service/instance.c
+++ b/
service/instance.c
@@
-270,7
+270,7
@@
instance_removepid(struct service_instance *in) {
if (!in->pidfile)
return 0;
if (unlink(in->pidfile)) {
- ERROR("Failed to remove
d
pidfile: %s: %m\n", in->pidfile);
+ ERROR("Failed to remove pidfile: %s: %m\n", in->pidfile);
return 1;
}
return 0;