From dacab12b301085eac00e84a94e42096de70886e8 Mon Sep 17 00:00:00 2001 From: Daniel Golle Date: Mon, 13 Jul 2020 10:10:05 +0100 Subject: [PATCH] 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 --- uxc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; } -- 2.30.2