summaryrefslogtreecommitdiff
path: root/infrastructure/buildenv-testmain-template.cpp
diff options
context:
space:
mode:
authorChris Wilson <chris+github@qwirx.com>2012-11-08 22:05:12 +0000
committerChris Wilson <chris+github@qwirx.com>2012-11-08 22:05:12 +0000
commit8bde063c5722c725de51a829d536e694c542e936 (patch)
tree6d8f8094b213ddd254a64e0ba7ae94dcf34a2f01 /infrastructure/buildenv-testmain-template.cpp
parent44da3c01da61e2ef51fc518e63854dd2512bb7a3 (diff)
Don't flag an error if the only sockets "leaked" are syslog sockets.
Diffstat (limited to 'infrastructure/buildenv-testmain-template.cpp')
-rw-r--r--infrastructure/buildenv-testmain-template.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/infrastructure/buildenv-testmain-template.cpp b/infrastructure/buildenv-testmain-template.cpp
index 7cd9fa3c..488e8623 100644
--- a/infrastructure/buildenv-testmain-template.cpp
+++ b/infrastructure/buildenv-testmain-template.cpp
@@ -153,14 +153,14 @@ bool check_filedes(bool report)
flag(S_IFLNK) <<
flag(S_IFSOCK) <<
" or " << m << ")");
+ allOk = false;
}
else
{
BOX_FATAL("File descriptor " << d <<
" left open (and stat failed)");
+ allOk = false;
}
-
- allOk = false;
}
else if (!report)
{