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:
@@ -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));
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user