Code

Fix gotoHardwareChecksum comparison - brace issue.
authorjanw <janw@594d385d-05f5-0310-b6e9-bd551577e9d8>
Fri, 10 Jul 2009 13:41:52 +0000 (13:41 +0000)
committerjanw <janw@594d385d-05f5-0310-b6e9-bd551577e9d8>
Fri, 10 Jul 2009 13:41:52 +0000 (13:41 +0000)
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@13922 594d385d-05f5-0310-b6e9-bd551577e9d8

gosa-si/modules/ClientPackages.pm

index 100e0281b1c4ccfd926007c8b3e755999d54c9c3..1a99137277b189d5ecb66865270547586092267e 100644 (file)
@@ -1034,7 +1034,7 @@ sub hardware_config {
        } else {
                my $entry= $mesg->entry(0);
                if (defined($entry->get_value("gotoHardwareChecksum"))) {
-                       if (! $entry->get_value("gotoHardwareChecksum") eq $gotoHardwareChecksum) {
+                       if (! ($entry->get_value("gotoHardwareChecksum") eq $gotoHardwareChecksum)) {
                                $entry->replace(gotoHardwareChecksum => $gotoHardwareChecksum);
                                if($entry->update($ldap_handle)) {
                                        &main::daemon_log("$session_id INFO: Hardware changed! Detection triggered.", 5);