Browse Source

A static error state is as good as any other static state

Zachary Kotlarek 14 năm trước cách đây
mục cha
commit
fc5d5339df
1 tập tin đã thay đổi với 1 bổ sung và 1 xóa
  1. 1 1
      plexMonitor

+ 1 - 1
plexMonitor

@@ -30,7 +30,7 @@ cd "${DATA_DIR}"
 
 # Compare the current state to the last one
 CHANGED=1
-"${EXEC_DIR}/${CMD}" > "${TEMP_FILE}"
+"${EXEC_DIR}/${CMD}" > "${TEMP_FILE}" 2>/dev/null
 if [ -r "${MODE}" ]; then
 	diff "${TEMP_FILE}" "${MODE}" > /dev/null
 	if [ $? -eq 0 ]; then