]> git.donarmstrong.com Git - infobot.git/blobdiff - src/Misc.pl
overwrite older files
[infobot.git] / src / Misc.pl
index 3163bb3201690e9970d289305af6e4929806326b..295d45ed0bbd1e4b8c8693c7fa51222ee5bb1b1d 100644 (file)
@@ -479,7 +479,7 @@ sub isFileUpdated {
 
     my $time_file = (stat $file)[9];
 
-    if ($time == $time_file) {
+    if ($time <= $time_file) {
        return 0;
     } else {
        return 1;