Fix warning
authorJamie Cameron <jcameron@webmin.com>
Mon, 8 Aug 2011 17:42:14 +0000 (10:42 -0700)
committerJamie Cameron <jcameron@webmin.com>
Mon, 8 Aug 2011 17:42:14 +0000 (10:42 -0700)
webmin/webmin-lib.pl

index 7b85a27..46436dd 100755 (executable)
@@ -1898,7 +1898,7 @@ foreach my $minfo (&get_all_module_infos()) {
        next if (defined($installed{$minfo->{'dir'}}) && !$force && !$mod);
        next if (!&check_os_support($minfo));
        $@ = undef;
-       my $o = $installed{$minfo->{'dir'}};
+       my $o = $installed{$minfo->{'dir'}} || 0;
        my $pid = fork();
        if (!$pid) {
                # Check in a sub-process