Permalink
Browse files

Merge branch 'master' of github.com:alejandromg/nodester-cli

* 'master' of github.com:alejandromg/nodester-cli:
  typo
  • Loading branch information...
2 parents b3e52cc + 1e8345e commit 23bb25219a4b15b01937c417c5c464695a1e1fa5 @alejandro alejandro committed Apr 8, 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 23bb252

Please sign in to comment.