Commit 1657f960 authored by Vitaly Lipatov's avatar Vitaly Lipatov

fix anyservice list

parent 06dcde2e
......@@ -38,11 +38,6 @@ serv_list()
for i in $(serv_list_all) ; do
is_service_running $i >/dev/null && echo $i
done
# TODO: только запущенные
if [ -n "$ANYSERVICE" ] ; then
sudocmd $ANYSERVICE list
return
fi
;;
esac
}
......@@ -26,7 +26,7 @@ serv_list_all()
sudocmd chkconfig --list | cut -f1
if [ -n "$ANYSERVICE" ] ; then
sudocmd anyservice list
sudocmd anyservice --quiet list
return
fi
;;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment