]> git.lizzy.rs Git - plan9front.git/commitdiff
rc-httpd: fix invalid test(1) invocation in dir-index
authorAlex Musolino <alex@musolino.id.au>
Sun, 2 Aug 2020 09:00:01 +0000 (18:30 +0930)
committerAlex Musolino <alex@musolino.id.au>
Sun, 2 Aug 2020 09:00:01 +0000 (18:30 +0930)
rc/bin/rc-httpd/handlers/dir-index

index f8667f664201105b48562ef0ce5bcb5ceea8d4ee..5f1897cd5706b50a69f24ec25331348454cd68bb 100755 (executable)
@@ -6,7 +6,7 @@ if(! test -d $full_path){
        error 404
        exit
 }
-if(! test -r $full_path -x $full_path){
+if(! test -r $full_path){
        error 503
        exit
 }