diff options
| author | Daniel Golle | 2020-07-13 09:10:05 +0000 |
|---|---|---|
| committer | Daniel Golle | 2020-07-13 11:14:49 +0000 |
| commit | dacab12b301085eac00e84a94e42096de70886e8 (patch) | |
| tree | 85de0aa980c17509289b8249e2686ff84ed27c7e | |
| parent | b586e7d693d39247d854b03c15610173b7a42f61 (diff) | |
| download | procd-dacab12b301085eac00e84a94e42096de70886e8.tar.gz | |
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 <daniel@makrotopia.org>
| -rw-r--r-- | uxc.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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; } |