From: janw Date: Fri, 10 Jul 2009 13:41:52 +0000 (+0000) Subject: Fix gotoHardwareChecksum comparison - brace issue. X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=2ef22e9d80aa6c25f514572314ca495c4e9b6ea2;p=gosa.git Fix gotoHardwareChecksum comparison - brace issue. git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@13922 594d385d-05f5-0310-b6e9-bd551577e9d8 --- diff --git a/gosa-si/modules/ClientPackages.pm b/gosa-si/modules/ClientPackages.pm index 100e0281b..1a9913727 100644 --- a/gosa-si/modules/ClientPackages.pm +++ b/gosa-si/modules/ClientPackages.pm @@ -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);