diff options
author | Petr Štetiar <ynezz@true.cz> | 2020-01-10 22:56:31 +0100 |
---|---|---|
committer | Petr Štetiar <ynezz@true.cz> | 2020-01-18 15:10:22 +0100 |
commit | 44dd9419812b6dc8fa164833fb274e33e5e284fa (patch) | |
tree | 0df3b8444d28d4e75141fe3484a7524aae6ceb5e /service | |
parent | 153820c764719adfbcb185d35e63587097ddecbe (diff) | |
download | procd-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.c | 2 |
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; |