Gentoo Archives: gentoo-commits

From: "Ulrich Mueller (ulm)" <ulm@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] eselect r490 - trunk/modules
Date: Wed, 22 Apr 2009 15:59:40
Message-Id: E1LwerK-0006Of-8X@stork.gentoo.org
1 Author: ulm
2 Date: 2009-04-22 15:59:37 +0000 (Wed, 22 Apr 2009)
3 New Revision: 490
4
5 Modified:
6 trunk/modules/rc.eselect
7 Log:
8 Also highlight the "stopping" state.
9
10 Modified: trunk/modules/rc.eselect
11 ===================================================================
12 --- trunk/modules/rc.eselect 2009-04-22 06:35:39 UTC (rev 489)
13 +++ trunk/modules/rc.eselect 2009-04-22 15:59:37 UTC (rev 490)
14 @@ -251,14 +251,14 @@
15 fi
16 done
17 case ${status} in
18 - starting|inactive|unknown)
19 - write_kv_list_entry ${script} "$(highlight_warning [${x}])"
20 + stopped)
21 + write_kv_list_entry ${script} [${x}]
22 ;;
23 started)
24 write_kv_list_entry ${script} "$(highlight [${x}])"
25 ;;
26 *)
27 - write_kv_list_entry ${script} [${x}]
28 + write_kv_list_entry ${script} "$(highlight_warning [${x}])"
29 ;;
30 esac
31 ((n++))