]> source.dussan.org Git - gitblit.git/commitdiff
Remove unsupported option '-O' from 'ls' command.
authorFlorian Zschocke <florian.zschocke@cycos.com>
Tue, 20 Aug 2013 17:59:54 +0000 (19:59 +0200)
committerFlorian Zschocke <florian.zschocke@cycos.com>
Mon, 26 Aug 2013 10:39:57 +0000 (12:39 +0200)
src/main/java/com/gitblit/utils/JnaUtils.java

index fa47b1c71f8df441407446991dd202e417ab4700..3bf1f73aaf9c233f2ac061fbc298568988197bc0 100644 (file)
@@ -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;