]> cat aescling's git repositories - httpd-execline.git/commitdiff
httpd.execline: fix: typo; s6-test deprecation
authorcat æscling <11325618-aescling@users.noreply.gitlab.com>
Wed, 26 Jul 2023 01:21:58 +0000 (21:21 -0400)
committercat æscling <11325618-aescling@users.noreply.gitlab.com>
Wed, 26 Jul 2023 01:25:03 +0000 (21:25 -0400)
The latter is a partial fix

visible-to-httpd/binaries/httpd.execline

index 2860e6ec320900cf559683f5c93f0e6c26790aab..275f8953a5cae058fde29767945dc6bc176cfc2b 100755 (executable)
@@ -148,8 +148,8 @@ if -X -n -t {
        #### 4. send response ###
        ##### 4.1. determine found resource's Content-Type ###
        backtick -i -n Content-Type {
-               define Content_Type_override_file configuration/overrides/${resourse}/Content-Type
-               ifelse { s6-test -f ${Content_Type_override_file} -a -r ${Content_Type_override_file} }
+               define Content_Type_override_file configuration/overrides/${resource}/Content-Type
+               ifelse { eltest -r ${Content_Type_override_file} }
                {
                        cat ${Content_Type_override_file}
                }