save some forks in services

This commit is contained in:
Dustin Kirkland 2010-06-17 00:03:06 -05:00
commit 7cb0be0b50

View file

@ -52,8 +52,8 @@ running() {
output= output=
for i in $SERVICES; do for i in $SERVICES; do
service=$(echo "$i" | sed "s/|.*//") service=${i%|*}
nick=$(echo "$i" | sed "s/.*|//") nick=${i#*|}
case "$service" in case "$service" in
eucalyptus-nc) eucalyptus-nc)
if running $service; then if running $service; then
@ -73,4 +73,4 @@ for i in $SERVICES; do
;; ;;
esac esac
done done
printf "$(color w c)$(echo $output | sed 's/^,//')$(color -) " printf "$(color w c)${output#,}$(color -) "