mirror of
https://github.com/openvswitch/ovs
synced 2025-08-31 06:15:47 +00:00
vlog: Only compile vlog_change_owner on Unix platform
uid_t and gid_t are not defined for Windows platform. Signed-off-by: Andy Zhou <azhou@nicira.com>
This commit is contained in:
@@ -849,7 +849,7 @@ daemon_become_new_user__(bool access_datapath)
|
||||
{
|
||||
/* If vlog file has been created, change its owner to the non-root user
|
||||
* as specifed by the --user option. */
|
||||
vlog_change_owner(uid, gid);
|
||||
vlog_change_owner_unix(uid, gid);
|
||||
|
||||
if (LINUX) {
|
||||
if (LIBCAPNG) {
|
||||
|
Reference in New Issue
Block a user