Minor change to an elif

This commit is contained in:
Stig-Ørjan Smelror 2024-01-30 10:28:32 +01:00
parent 062d9d485d
commit 44cf4d137e

2
qsgen2
View File

@ -460,7 +460,7 @@ function _blogs() {
# Write to file
echo "${blog_content}" > "${www_root}${blog_url}"
elif [[ "${mode}" ]] || [[ "${mode}" != "" ]]; then
elif [[ ${mode} || ${mode} != "" ]]; then
# Export metadata mode
if (${debug}) echo "_blogs: Exporting metadata for ${blog}"
export BLOG_SDATE="${sdate[@]}"