projects
/
project
/
procd.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
jail: remove unreachable code
[project/procd.git]
/
jail
/
jail.c
diff --git
a/jail/jail.c
b/jail/jail.c
index 385dbe7b0336346360ee93e408c6795874e0a14d..a143b53c0a584c8320cb909c0808604f30269067 100644
(file)
--- a/
jail/jail.c
+++ b/
jail/jail.c
@@
-1008,8
+1008,7
@@
static int setns_open(unsigned long nstype)
{
int *fd = get_namespace_fd(nstype);
- if (!*fd)
- return EFAULT;
+ assert(fd != NULL);
if (*fd == -1)
return 0;