Skip to content
Snippets Groups Projects
Commit e196fc52 authored by Hahn Axel (hahn)'s avatar Hahn Axel (hahn)
Browse files

show only non OK servers

parent b93e0bde
Branches
No related tags found
1 merge request!220show only non OK servers
...@@ -117,11 +117,11 @@ case "$sMode" in ...@@ -117,11 +117,11 @@ case "$sMode" in
echo echo
# show servers grouped by status # show servers grouped by status
for mystatus in E D R "\?" D "\." for mystatus in E D R "\?" D
do do
_getServerOfStatus "$mystatus" "$data" srvlist=$( _getServerOfStatus "$mystatus" "$data" )
test -n "$srvlist" && ( echo "$srvlist"; echo )
done done
echo -e "\e[0m"
echo "$data" | grep "server.*start.*end" echo "$data" | grep "server.*start.*end"
echo echo
) | tr '|' ':' ) | tr '|' ':'
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment