From: Florian Zschocke Date: Tue, 20 Aug 2013 17:59:54 +0000 (+0200) Subject: Remove unsupported option '-O' from 'ls' command. X-Git-Tag: v1.4.0~281^2~2 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=9d83a080fc0c24770a079c02b83b8141ddbb6534;p=gitblit.git Remove unsupported option '-O' from 'ls' command. --- diff --git a/src/main/java/com/gitblit/utils/JnaUtils.java b/src/main/java/com/gitblit/utils/JnaUtils.java index fa47b1c7..3bf1f73a 100644 --- a/src/main/java/com/gitblit/utils/JnaUtils.java +++ b/src/main/java/com/gitblit/utils/JnaUtils.java @@ -240,7 +240,7 @@ public class JnaUtils { */ private static String runProcessLs(String path) { - String cmd = "ls -ldO " + path; + String cmd = "ls -ld " + path; Runtime rt = Runtime.getRuntime(); Process pr = null; InputStreamReader ir = null;