mirror of
https://github.com/dustinkirkland/byobu
synced 2025-08-22 22:34:23 -07:00
save some forks in services
This commit is contained in:
parent
b611e0e6d1
commit
7cb0be0b50
1 changed files with 3 additions and 3 deletions
|
@ -52,8 +52,8 @@ running() {
|
|||
|
||||
output=
|
||||
for i in $SERVICES; do
|
||||
service=$(echo "$i" | sed "s/|.*//")
|
||||
nick=$(echo "$i" | sed "s/.*|//")
|
||||
service=${i%|*}
|
||||
nick=${i#*|}
|
||||
case "$service" in
|
||||
eucalyptus-nc)
|
||||
if running $service; then
|
||||
|
@ -73,4 +73,4 @@ for i in $SERVICES; do
|
|||
;;
|
||||
esac
|
||||
done
|
||||
printf "$(color w c)$(echo $output | sed 's/^,//')$(color -) "
|
||||
printf "$(color w c)${output#,}$(color -) "
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue