improve comments

This commit is contained in:
Oliver Gorwits
2012-12-03 22:20:43 +00:00
parent f47458cb22
commit 4c69724738

View File

@@ -31,11 +31,11 @@ sub _set_generic {
return ('error', $log);
}
# double check
# confirm the set happened
$info->clear_cache;
my $new_data = ($info->$slot || '');
if ($new_data ne $data) {
my $log = sprintf 'Failed to update %s on [%s] to [%s]',
my $log = sprintf 'Verify of %s update failed on [%s]',
$slot, $ip, $data;
return ('error', $log);
}