Pārlūkot izejas kodu

Merge branch 'ticket/70' into develop

tags/v1.6.0
James Moger pirms 10 gadiem
vecāks
revīzija
e832a7d1a0

+ 2
- 2
src/main/java/com/gitblit/transport/ssh/SshDaemon.java Parādīt failu

@@ -212,8 +212,8 @@ public class SshDaemon {
Files.touch(file);
try {
JnaUtils.setFilemode(file, JnaUtils.S_IRUSR | JnaUtils.S_IWUSR);
} catch (UnsupportedOperationException e) {
// Windows
} catch (UnsatisfiedLinkError | UnsupportedOperationException e) {
// Unexpected/Unsupported OS or Architecture
}

FileOutputStream os = new FileOutputStream(file);

Notiek ielāde…
Atcelt
Saglabāt