From: Daniel Golle Date: Mon, 13 Jul 2020 09:10:05 +0000 (+0100) Subject: uxc: fix 'stop' command X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=dacab12b301085eac00e84a94e42096de70886e8;p=project%2Fprocd.git uxc: fix 'stop' command The 'stop' command was requesting an invalid ubus method. Fix method name to make 'stop' operation work. Signed-off-by: Daniel Golle --- diff --git a/uxc.c b/uxc.c index 6013637..a0a6706 100644 --- a/uxc.c +++ b/uxc.c @@ -360,7 +360,7 @@ static int uxc_stop(char *name) ret = 0; if (ubus_lookup_id(ctx, "container", &id) || - ubus_invoke(ctx, id, "del", req.head, NULL, NULL, 3000)) { + ubus_invoke(ctx, id, "delete", req.head, NULL, NULL, 3000)) { ret = EIO; }