diff options
author | Alex Musolino <alex@musolino.id.au> | 2020-08-02 18:30:01 +0930 |
---|---|---|
committer | Alex Musolino <alex@musolino.id.au> | 2020-08-02 18:30:01 +0930 |
commit | cf69bb920a53a2cbecc42e4299b7ed12818d39dc (patch) | |
tree | 261ed2a21a33517270be9b994e661ee4f3297bc2 /rc | |
parent | 9e27ee094c25873c71da6488d7926c621c115c68 (diff) | |
download | plan9front-cf69bb920a53a2cbecc42e4299b7ed12818d39dc.tar.xz |
rc-httpd: fix invalid test(1) invocation in dir-index
Diffstat (limited to 'rc')
-rwxr-xr-x | rc/bin/rc-httpd/handlers/dir-index | 2 |
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 } |