浏览代码

Exempt Heady

Zachary Kotlarek 12 年之前
父节点
当前提交
332bbce25a
共有 1 个文件被更改,包括 5 次插入 和 0 次删除
  1. 5 0
      pms/PMSCheck.sh

+ 5 - 0
pms/PMSCheck.sh

@@ -11,6 +11,11 @@ UNWATCHED_RETRIES=5
 MIN_UNWATCHED_COUNT=10
 ADMIN_EMAIL="zach@kotlarek.com"
 
+# Heady allows 0 unwatched
+if hostname | grep -qi heady; then
+	MIN_UNWATCHED_COUNT=0
+fi
+
 # Command-line config
 LOOP=-1
 if [ "${1}" ]; then