Unverified Commit 125a2e04 by C0deAi Committed by Christian Brauner

lxc init: remove dead code

Value stored is never read. Closes #2262. Signed-off-by: 's avatarC0deAi <techsupport@mycode.ai> Signed-off-by: 's avatarChristian Brauner <christian.brauner@ubuntu.com>
parent 5eda487c
...@@ -150,7 +150,6 @@ static void prevent_forking(void) ...@@ -150,7 +150,6 @@ static void prevent_forking(void)
SYSERROR("Failed to write to \"%s\"", path); SYSERROR("Failed to write to \"%s\"", path);
close(fd); close(fd);
fd = -1;
break; break;
} }
......
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