Permalink
Browse files

Merge pull request #43 from alejandromg/master

typo
  • Loading branch information...
2 parents 5d8fdb4 + 1e8345e commit 3a34d4ef4dcdc33768fffad35faa57ddadabfab8 @chrismatthieu chrismatthieu committed Apr 7, 2012
Showing with 1 addition and 0 deletions.
  1. +1 −0 lib/apps.js
View
@@ -22,6 +22,7 @@ module.exports = {
for (var i in data) {
var l = 'info',
r = data[i].running;
+ var state = false;
if (data[i].running.hasOwnProperty('indexOf') && (data[i].running.indexOf('error') >-1|| data[i].running.indexOf('failed-to') > -1))
var state = true;
if (data[i].running == false || data[i].running == 'false' || state) {

0 comments on commit 3a34d4e

Please sign in to comment.