mirror of
https://git.proxmox.com/git/mirror_lxc
synced 2025-08-15 08:05:20 +00:00
tests: cleanup device_add_remove.c
Signed-off-by: 2xsec <dh48.jeong@samsung.com>
This commit is contained in:
parent
8d72e58a24
commit
e9432dfc50
@ -50,6 +50,7 @@ int main(int argc, char *argv[])
|
||||
fprintf(stderr, "Adding %s to the container (%s) failed...\n", DEVICE, NAME);
|
||||
goto out;
|
||||
}
|
||||
|
||||
if (!c->remove_device_node(c, DEVICE, DEVICE)) {
|
||||
fprintf(stderr, "Removing %s from the container (%s) failed...\n", DEVICE, NAME);
|
||||
goto out;
|
||||
@ -64,6 +65,7 @@ int main(int argc, char *argv[])
|
||||
fprintf(stderr, "Destroying the container (%s) failed...\n", NAME);
|
||||
goto out;
|
||||
}
|
||||
|
||||
ret = 0;
|
||||
|
||||
out:
|
||||
|
Loading…
Reference in New Issue
Block a user