If make returns 2 it should be treat as an error and not as ok.
The documentation says 2 is returned if make encountered an error:
https://www.gnu.org/software/make/manual/html_node/Running.html
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
def get_status_name(status):
if (status == 0):
return 'OK'
- if (status == 2):
- return 'OK'
elif (status == 130):
return 'TERM'
elif (status == 1234):
def get_stat_pos(status):
if (status == 0):
return 34
- if (status == 2):
- return 34
elif (status == 130):
return 33
elif (status == 1234):
def get_status_color(status):
if (status == 0):
return curses.color_pair(1)
- if (status == 2):
- return curses.color_pair(1)
elif (status == 130):
return curses.color_pair(2)
elif (status == 1234):