From 2ef22e9d80aa6c25f514572314ca495c4e9b6ea2 Mon Sep 17 00:00:00 2001 From: janw Date: Fri, 10 Jul 2009 13:41:52 +0000 Subject: [PATCH] Fix gotoHardwareChecksum comparison - brace issue. git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@13922 594d385d-05f5-0310-b6e9-bd551577e9d8 --- gosa-si/modules/ClientPackages.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); -- 2.30.2