18 lines
693 B
Diff
18 lines
693 B
Diff
|
diff -ru open-vm-tools-10.3.0-8931395.orig/services/plugins/hgfsServer/hgfsPlugin.c open-vm-tools-10.3.0-8931395/services/plugins/hgfsServer/hgfsPlugin.c
|
||
|
--- open-vm-tools-10.3.0-8931395.orig/services/plugins/hgfsServer/hgfsPlugin.c 2018-06-23 03:03:48.000000000 -0700
|
||
|
+++ open-vm-tools-10.3.0-8931395/services/plugins/hgfsServer/hgfsPlugin.c 2018-08-06 11:50:03.917850541 -0700
|
||
|
@@ -1090,6 +1090,13 @@
|
||
|
}
|
||
|
|
||
|
/*
|
||
|
+ * If not running in a VMware VM, return NULL to disable the plugin.
|
||
|
+ */
|
||
|
+ if (!ctx->isVMware) {
|
||
|
+ return NULL;
|
||
|
+ }
|
||
|
+
|
||
|
+ /*
|
||
|
* Check for VM is running in a hosted environment and if so initialize
|
||
|
* the Shared Folders HGFS client redirector.
|
||
|
*/
|