Browse Source

Fix wrong warning message in case of lock failures

Bug: 537969
Change-Id: I0854bbbe7393abaca36640d429886c30d95d5bf1
stable-5.0
Christian Halstrick 6 years ago committed by Matthias Sohn
parent
commit
982be5db14
  1. 2
      org.eclipse.jgit/src/org/eclipse/jgit/util/FS_POSIX.java

2
org.eclipse.jgit/src/org/eclipse/jgit/util/FS_POSIX.java

@ -389,7 +389,7 @@ public class FS_POSIX extends FS {
Integer nlink = (Integer) (Files.getAttribute(lockPath,
"unix:nlink")); //$NON-NLS-1$
if (nlink != 2) {
LOG.warn("nlink of link to lock file {0} was not 2 but {1}", //$NON-NLS-1$
LOG.warn("nlink of link to lock file {} was not 2 but {}", //$NON-NLS-1$
lock.getPath(), nlink);
return false;
}

Loading…
Cancel
Save