Message ID | 20200115103057.7665-1-ynezz@true.cz |
---|---|
State | Accepted |
Delegated to: | Petr Štetiar |
Headers | show |
Series | [OpenWrt-Devel,procd,1/2] instance: fix typo in error message | expand |
diff --git a/service/instance.c b/service/instance.c index b0c98079d5b9..ce5233807dbb 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;
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 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)