Send output to /dev/null

This commit is contained in:
Stig-Ørjan Smelror 2024-01-29 23:23:54 +01:00
parent b578988387
commit ec76db241f

2
qsgen2
View File

@ -324,7 +324,7 @@ function _pages() {
# Insert page_content into pages_tpl by replacing the BODY tag present there
if (${debug}) echo "_pages: Replacing BODY with page_content in pages_tpl"
pages_tpl=$( echo ${pages_tpl} | sed -e "s|BODY|\"${page_content}\"|" )
pages_tpl=$( echo ${pages_tpl} | sed -e 's|BODY|${page_content}|g' > /dev/null )
# Replace every #pagetitle in pages_tpl
if (${debug}) echo "_pages: Replacing #pagetitle in pages_tpl"