From cf69bb920a53a2cbecc42e4299b7ed12818d39dc Mon Sep 17 00:00:00 2001 From: Alex Musolino Date: Sun, 2 Aug 2020 18:30:01 +0930 Subject: [PATCH] rc-httpd: fix invalid test(1) invocation in dir-index --- rc/bin/rc-httpd/handlers/dir-index | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 } -- 2.44.0