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 committed Nov 8, 2018
1 parent d2b2f62 commit 1d5e5f2
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 1d5e5f2

Please sign in to comment.