diff --git a/pandora_agents/unix/ChangeLog b/pandora_agents/unix/ChangeLog index 0c80df28cb..f8bbb3ac7f 100644 --- a/pandora_agents/unix/ChangeLog +++ b/pandora_agents/unix/ChangeLog @@ -1,3 +1,7 @@ +2010-12-01 Ramon Novoa + + * plugins/pandora_update: Fixed md5 calculation. + 2010-11-29 Ramon Novoa * pandora_agent_installer: Remove all init symbolic links. diff --git a/pandora_agents/unix/plugins/pandora_update b/pandora_agents/unix/plugins/pandora_update index 7453d1608b..c13a9bec8e 100755 --- a/pandora_agents/unix/plugins/pandora_update +++ b/pandora_agents/unix/plugins/pandora_update @@ -65,13 +65,13 @@ sub compare_twofiles ($$) { open FILE1, $file1; binmode FILE1; - my $data1 = ; + my $data1 = join ('', ); close FILE1; my $hash1 = md5($data1); open FILE2, $file2; binmode FILE2; - my $data2 = ; + my $data2 = join ('', ); close FILE2; my $hash2 = md5($data2);