2
0
mirror of https://github.com/openvswitch/ovs synced 2025-08-30 22:05:19 +00:00

Log anything that could prevent a daemon from starting.

If a daemon doesn't start, we need to know why.  Being able to
consistently consult the log to find out is helpful.
This commit is contained in:
Ben Pfaff
2011-03-31 16:23:50 -07:00
parent fcaddd4dd1
commit 279c9e0308
20 changed files with 171 additions and 105 deletions

View File

@@ -767,3 +767,10 @@ get_mtime(const char *file_name, struct timespec *mtime)
}
}
void
xpipe(int fds[2])
{
if (pipe(fds)) {
VLOG_FATAL("failed to create pipe (%s)", strerror(errno));
}
}