From: Oliver Kurth Date: Mon, 5 Aug 2019 18:22:01 +0000 (-0700) Subject: Fix broken command: vmtoolsd --cmd info-get | info-set X-Git-Tag: stable-11.0.0~7 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=782b42a5248cd01d37f0002aa7e30df4cc787129;p=thirdparty%2Fopen-vm-tools.git Fix broken command: vmtoolsd --cmd info-get | info-set --- diff --git a/open-vm-tools/lib/rpcChannel/rpcChannel.c b/open-vm-tools/lib/rpcChannel/rpcChannel.c index 837a0abb9..98b46d196 100644 --- a/open-vm-tools/lib/rpcChannel/rpcChannel.c +++ b/open-vm-tools/lib/rpcChannel/rpcChannel.c @@ -1075,7 +1075,7 @@ RpcChannelSendOneRaw(const char *data, } } goto sent; - } else if (RpcChannel_GetType(chan) != RPCCHANNEL_TYPE_PRIV_VSOCK) { + } else if (priv && RpcChannel_GetType(chan) != RPCCHANNEL_TYPE_PRIV_VSOCK) { if (result != NULL) { *result = Util_SafeStrdup("Permission denied"); if (resultLen != NULL) {