Really try to write to file

This commit is contained in:
Stig-Ørjan Smelror 2024-02-12 22:32:46 +01:00
parent c96c113678
commit 8270bf4f31

4
qsgen2
View File

@ -920,7 +920,9 @@ function _blog_index() {
#_msg debug "_blog_index: Content of blog_index_content"
#_msg sub "${blog_index_content}"
fi
echo "$blog_index_content" | tee ${www_root}/blog/index.html > /dev/null
exec 3>${www_root}/blog/index.html
print -r -- "$blog_index_content" >&3
exec 3>&-
_f_last_updated ${www_root}/blog/index.html
fi