diff --git a/source/de/anomic/yacy/yacyCore.java b/source/de/anomic/yacy/yacyCore.java index 9da0e64a1..b4999e592 100644 --- a/source/de/anomic/yacy/yacyCore.java +++ b/source/de/anomic/yacy/yacyCore.java @@ -105,7 +105,7 @@ public class yacyCore { public static int yacyTime() { // the time since startup of yacy in seconds - return (int) ((System.currentTimeMillis() - serverCore.startupTime) / 1000); + return Math.max(0, (int) ((System.currentTimeMillis() - serverCore.startupTime) / 1000)); } public yacyCore(plasmaSwitchboard sb) {