From 8270bf4f31e535085754fcbc7606814d8b476c12 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Stig-=C3=98rjan=20Smelror?= Date: Mon, 12 Feb 2024 22:32:46 +0100 Subject: [PATCH] Really try to write to file --- qsgen2 | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/qsgen2 b/qsgen2 index d293e6b..1610f5f 100755 --- a/qsgen2 +++ b/qsgen2 @@ -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