Commit Diff


commit - f59c0f4b53a889f1f4198a8e3fcfb0db1c662d5e
commit + 8ec3a5890db22dd3b018fd9a70f962c368dd07f8
blob - 0210a1d3737df9a3aceeae1d22ecf923499ab6bb
blob + c4de84a19c983c69ff6570aca12ee60650cb9457
--- uptimeatomic
+++ uptimeatomic
@@ -188,7 +188,7 @@ fi
 _TMP="$(mktemp -d)"
 mkdir -p "${_TMP}/ok" "${_TMP}/ko" "${_TMP}/maint" || exit 1
 _HTMLFILE="${_TMP}/${HTMLFILE}"
-_RSSFILE="${HTMLDIR}/${RSS_FILE}"
+[[ -n "${RSS_FILE}" ]] && _RSSFILE="${HTMLDIR}/${RSS_FILE}"
 
 parse_file "${CHECKFILE}"