Skip to content

Commit

Permalink
dlog: move match_dlog_fds()
Browse files Browse the repository at this point in the history
Signed-off-by: 2xsec <dh48.jeong@samsung.com>
  • Loading branch information
2xsec authored and Christian Brauner committed Nov 22, 2018
1 parent 94abc19 commit b67cc0b
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions src/lxc/start.c
Expand Up @@ -297,17 +297,17 @@ int lxc_check_inherited(struct lxc_conf *conf, bool closeall,
if (matched)
continue;

#ifdef HAVE_DLOG
if (match_dlog_fds(direntp))
continue;

#endif
if (current_config && fd == current_config->logfd)
continue;

if (match_stdfds(fd))
continue;

#ifdef HAVE_DLOG
if (match_dlog_fds(direntp))
continue;

#endif
if (closeall) {
close(fd);
closedir(dir);
Expand Down

0 comments on commit b67cc0b

Please sign in to comment.