git: 9front

Download patch

ref: 8c3467b7bef2bbc46e2736a89184022a7c979e38
parent: 3ca7c7e864a51951a3bb1da6337e5bc0c7ac1527
author: Alex Musolino <alex@musolino.id.au>
date: Sun Aug 2 14:30:01 EDT 2020

rc-httpd: fix invalid test(1) invocation in dir-index

--- a/rc/bin/rc-httpd/handlers/dir-index
+++ b/rc/bin/rc-httpd/handlers/dir-index
@@ -6,7 +6,7 @@
 	error 404
 	exit
 }
-if(! test -r $full_path -x $full_path){
+if(! test -r $full_path){
 	error 503
 	exit
 }
--