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=
|
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 -) "
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue