chiark / gitweb /
Clock skew is only if timestamp is > now
[ypp-sc-tools.db-live.git] / yarrg / commod-update-receiver
index e03a91828424c7da947aeb3af599402d59e4e005..0ae5ba8a8560a025b452c596ec9bad9be9458c06 100755 (executable)
@@ -129,7 +129,7 @@ foreach my $islands (values %$arches) {
 fail("unknown island") unless $island_found;
 
 $o{'timestamp'}= must_param('timestamp', "^([1-9]\\d{1,20})\$");
-fail("clock skew") if $o{'timestamp'} >= $now;
+fail("clock skew") if $o{'timestamp'} > $now;
 
 my $indatafh= upload('data');
 defined $indatafh or fail("data is not a file");