Really try to write to file

This commit is contained in:
Stig-Ørjan Smelror 2024-02-12 22:35:24 +01:00
parent 8270bf4f31
commit 89d2415e47

6
qsgen2
View File

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