Browse files

ocd

  • Loading branch information...
1 parent 2406b25 commit cc8ee764927c2cc495c3de60c60ee5dcc7f4edb9 @tj committed Jun 8, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/watch.c
View
2 src/watch.c
@@ -40,6 +40,7 @@ static int quiet = 0;
/*
* Halt on failure.
*/
+
static int halt = 0;
/*
@@ -236,7 +237,6 @@ main(int argc, const char **argv){
// exit > 0
if (WEXITSTATUS(status)) {
fprintf(stderr, "\033[90mexit: %d\33[0m\n\n", WEXITSTATUS(status));
-
if (halt) exit(WEXITSTATUS(status));
}

0 comments on commit cc8ee76

Please sign in to comment.