Permalink
Browse files

typo

  • Loading branch information...
1 parent e4a50a4 commit 1e8345e779401382c7c30e5db827c64d902cc493 @alejandro alejandro 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 1e8345e

Please sign in to comment.