virtualization/app-emulation/vmware-server/files/2.0.2.203138/011_all_legit-modules-only.patch
2009-12-24 15:39:51 +00:00

14 lines
535 B
Diff

diff --git a/bin/vmware-config.pl b/bin/vmware-config.pl
index bb9d04f..458a14b 100755
--- a/bin/vmware-config.pl
+++ b/bin/vmware-config.pl
@@ -10315,7 +10315,7 @@ sub main {
if ($gOption{'tools-switch'} == 0) {
my @modules = non_vmware_modules_installed();
- if (scalar(@modules) > 0) {
+ if (scalar(@modules) < 0) {
my $osVersion = direct_command(shell_string($gHelper{'uname'}) . ' -r');
chomp($osVersion);
error("The following VMware kernel modules have been found on your " .