/[baselayout]/trunk/src/rc-status.c
Gentoo

Diff of /trunk/src/rc-status.c

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

Revision 2971 Revision 2972
53 snprintf (status, sizeof (status), "scheduled"); 53 snprintf (status, sizeof (status), "scheduled");
54 color = ECOLOR_WARN; 54 color = ECOLOR_WARN;
55 } else 55 } else
56 snprintf (status, sizeof (status), " stopped "); 56 snprintf (status, sizeof (status), " stopped ");
57 57
58 if (! rc_env_bool ("RC_NOCOLOR")) 58 if (isatty (fileno (stdout)) && ! rc_env_bool ("RC_NOCOLOR"))
59 printf ("\n"); 59 printf ("\n");
60 ebracket (cols, color, status); 60 ebracket (cols, color, status);
61} 61}
62 62
63#include "_usage.h" 63#include "_usage.h"

Legend:
Removed from v.2971  
changed lines
  Added in v.2972

  ViewVC Help
Powered by ViewVC 1.1.20