Browse Source

ok, sometimes drift is -ve.

git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@278112 13f79535-47bb-0310-9956-ffa450edef68
master
Steve Loughran 20 years ago
parent
commit
c68814d655
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      src/main/org/apache/tools/ant/Diagnostics.java

+ 1
- 1
src/main/org/apache/tools/ant/Diagnostics.java View File

@@ -430,7 +430,7 @@ public final class Diagnostics {
out.println("Temp dir is writeable");
long drift=filetime-now;
out.println("temp dir alignment with system clock is "+drift+" ms");
if(drift>10000) {
if(Math.abs(drift)>10000) {
out.println("Warning: big clock drift -maybe a network filesystem");
}
} catch (IOException e) {


Loading…
Cancel
Save