Skip to content

Commit

Permalink
lxc init: remove dead code
Browse files Browse the repository at this point in the history
Value stored is never read.

Closes lxc#2262.

Signed-off-by: C0deAi <[email protected]>
Signed-off-by: Christian Brauner <[email protected]>
  • Loading branch information
C0deAi authored and Christian Brauner committed Apr 9, 2018
1 parent 5eda487 commit 125a2e0
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/lxc/cmd/lxc_init.c
Original file line number Diff line number Diff line change
Expand Up @@ -150,7 +150,6 @@ static void prevent_forking(void)
SYSERROR("Failed to write to \"%s\"", path);

close(fd);
fd = -1;
break;
}

Expand Down

0 comments on commit 125a2e0

Please sign in to comment.