From: Oliver Kurth Date: Fri, 2 Aug 2019 18:07:21 +0000 (-0700) Subject: Fix broken command: vmtoolsd --cmd info-get | info-set X-Git-Tag: stable-11.1.0~271 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=2472507ffd0bf1252fd5cc60c67a7a024a0cfd5a;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) {