summaryrefslogtreecommitdiff
path: root/src/print_run_watch.c
diff options
context:
space:
mode:
authorFernando Tarlá Cardoso Lemos <fernandotcl@gmail.com>2010-06-29 20:59:03 -0300
committerMichael Stapelberg <michael@stapelberg.de>2010-07-04 21:52:43 +0200
commit38337511e9b5896006f276c111265c985b2af70d (patch)
tree0edd30656e1a336129a70f05b03ba6ba3b5c8968 /src/print_run_watch.c
parent570bc669b4ad3c268025b70b217280788f6e23ba (diff)
Support customized colors.
Diffstat (limited to 'src/print_run_watch.c')
-rw-r--r--src/print_run_watch.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/print_run_watch.c b/src/print_run_watch.c
index 807e322..455130e 100644
--- a/src/print_run_watch.c
+++ b/src/print_run_watch.c
@@ -6,7 +6,7 @@ void print_run_watch(const char *title, const char *pidfile, const char *format)
bool running = process_runs(pidfile);
const char *walk;
- printf("%s", (running ? color("#00FF00") : color("#FF0000")));
+ printf("%s", (running ? color("color_good") : color("color_bad")));
for (walk = format; *walk != '\0'; walk++) {
if (*walk != '%') {