coverity: #1425890

silence complaint about unchecked return value from library function Signed-off-by: 's avatarChristian Brauner <christian.brauner@ubuntu.com>
parent 2bcca48c
......@@ -402,7 +402,7 @@ static int do_clone_ephemeral(struct lxc_container *c,
if (!mkdtemp(randname))
return -1;
if (chmod(randname, 0770) < 0) {
remove(randname);
(void)remove(randname);
return -1;
}
arg->newname = randname + strlen(arg->newpath) + 1;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment