summaryrefslogtreecommitdiff
path: root/service
diff options
context:
space:
mode:
authorPetr Štetiar <ynezz@true.cz>2020-01-10 22:56:31 +0100
committerPetr Štetiar <ynezz@true.cz>2020-01-18 15:10:22 +0100
commit44dd9419812b6dc8fa164833fb274e33e5e284fa (patch)
tree0df3b8444d28d4e75141fe3484a7524aae6ceb5e /service
parent153820c764719adfbcb185d35e63587097ddecbe (diff)
downloadprocd-44dd9419812b6dc8fa164833fb274e33e5e284fa.tar.gz
instance: fix typo in error message
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>
Diffstat (limited to 'service')
-rw-r--r--service/instance.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/service/instance.c b/service/instance.c
index 342199a..ee25868 100644
--- 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 removed pidfile: %s: %m\n", in->pidfile);
+ ERROR("Failed to remove pidfile: %s: %m\n", in->pidfile);
return 1;
}
return 0;