diff options
author | Florian Zschocke <florian.zschocke@cycos.com> | 2013-08-20 19:59:54 +0200 |
---|---|---|
committer | Florian Zschocke <florian.zschocke@cycos.com> | 2013-08-26 12:39:57 +0200 |
commit | 9d83a080fc0c24770a079c02b83b8141ddbb6534 (patch) | |
tree | 5238c36f8cb817c815abc518450cd2d605d5e88e /src/main/java/com/gitblit | |
parent | f7286e0d8d92956e85ec1a20c54cd5d972ba1541 (diff) | |
download | gitblit-9d83a080fc0c24770a079c02b83b8141ddbb6534.tar.gz gitblit-9d83a080fc0c24770a079c02b83b8141ddbb6534.zip |
Remove unsupported option '-O' from 'ls' command.
Diffstat (limited to 'src/main/java/com/gitblit')
-rw-r--r-- | src/main/java/com/gitblit/utils/JnaUtils.java | 2 |
1 files changed, 1 insertions, 1 deletions
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; |