summaryrefslogtreecommitdiff
path: root/rc/bin/rc-httpd
diff options
context:
space:
mode:
authorAlex Musolino <alex@musolino.id.au>2020-08-02 18:30:01 +0930
committerAlex Musolino <alex@musolino.id.au>2020-08-02 18:30:01 +0930
commitcf69bb920a53a2cbecc42e4299b7ed12818d39dc (patch)
tree261ed2a21a33517270be9b994e661ee4f3297bc2 /rc/bin/rc-httpd
parent9e27ee094c25873c71da6488d7926c621c115c68 (diff)
downloadplan9front-cf69bb920a53a2cbecc42e4299b7ed12818d39dc.tar.xz
rc-httpd: fix invalid test(1) invocation in dir-index
Diffstat (limited to 'rc/bin/rc-httpd')
-rwxr-xr-xrc/bin/rc-httpd/handlers/dir-index2
1 files changed, 1 insertions, 1 deletions
diff --git a/rc/bin/rc-httpd/handlers/dir-index b/rc/bin/rc-httpd/handlers/dir-index
index f8667f664..5f1897cd5 100755
--- a/rc/bin/rc-httpd/handlers/dir-index
+++ b/rc/bin/rc-httpd/handlers/dir-index
@@ -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
}