summaryrefslogtreecommitdiffstats
path: root/os-plugins/plugins/vmware/files/runvmware-player-v1
diff options
context:
space:
mode:
Diffstat (limited to 'os-plugins/plugins/vmware/files/runvmware-player-v1')
-rw-r--r--os-plugins/plugins/vmware/files/runvmware-player-v18
1 files changed, 5 insertions, 3 deletions
diff --git a/os-plugins/plugins/vmware/files/runvmware-player-v1 b/os-plugins/plugins/vmware/files/runvmware-player-v1
index e41dfcb5..ee170064 100644
--- a/os-plugins/plugins/vmware/files/runvmware-player-v1
+++ b/os-plugins/plugins/vmware/files/runvmware-player-v1
@@ -516,9 +516,11 @@ filecheck
# VMPlayer Version.
# strings is the fastest and most secure way, vmplayer -v takes too much time
# and resources
-vmbuild=$(strings /usr/lib/vmware/bin/vmplayer \
- | grep -m 1 "build-"|sed 's/.*build-//')
-if [ ! -n ${vmbuild} ]; then
+# TODO: find a solution which is faster... handeling different installed
+# vmplversions
+#vmbuild=$(strings /usr/lib/vmware/bin/vmplayer \
+# | grep -m 1 "build-"|sed 's/.*build-//')
+if [ -z ${vmbuild} ]; then
vmbuild=$(vmplayer -v | sed 's/.*build-//')
fi