shithub: rc-gemd

Download patch

ref: 155f3d40db228d89bd4a400f81920d7eeb241af7
parent: f20fa4e014b29f293169bdacf99af0d372bbd71b
author: Moody <j4kem00dy@gmail.com>
date: Wed Aug 19 18:57:08 EDT 2020

Make error codes more closely match spec

--- a/handlers/serve-static
+++ b/handlers/serve-static
@@ -3,12 +3,12 @@
 full_path=$"full_path
 
 if(! test -e $full_path){
-	error 41 'file does not exist'
+	error 51 'file does not exist'
 	exit
 }
 
 if(! test -r $full_path){
-	error 42 'file is not readble'
+	error 40 'file is not readable'
 	exit
 }