Skip to content

Commit

Permalink
Mariusz Glebocki: 30179: suppress stderr for listing services
Browse files Browse the repository at this point in the history
  • Loading branch information
Peter Stephenson committed Feb 3, 2012
1 parent 756f17a commit 368d303
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 deletions.
7 changes: 6 additions & 1 deletion ChangeLog
@@ -1,3 +1,8 @@
2012-02-03 Peter Stephenson <pws@csr.com>

* Mariusz Glebocki: 30179: Completion/Unix/Type/_services:
suppress stderr for service list.

2012-02-01 Frank Terbeck <ft@bewatermyfriend.org>

* A.Costa: unposted: Doc/Zsh/grammar.yo, Etc/ChangeLog-3.1: Fix
Expand Down Expand Up @@ -15903,5 +15908,5 @@

*****************************************************
* This is used by the shell to define $ZSH_PATCHLEVEL
* $Revision: 1.5571 $
* $Revision: 1.5572 $
*****************************************************
2 changes: 1 addition & 1 deletion Completion/Unix/Type/_services
Expand Up @@ -10,7 +10,7 @@ if [[ $OSTYPE = freebsd* ]]; then
_wanted services expl service compadd "$@" - $alls[@] && ret=0
fi
elif chkconfig --list > /dev/null 2>&1; then
alls=( ${(f)"$(LANGUAGE=C LANG=C LC_ALL=C chkconfig --list)"} )
alls=( ${(f)"$(LANGUAGE=C LANG=C LC_ALL=C chkconfig --list 2> /dev/null)"} )
inits=( ${${${alls[1,(r)xinetd based*]}[1,-2]}/%[[:space:]]*/} )
xinetds=( ${${${${alls[(r)xinetd based*,-1]}[2,-1]}/#[[:space:]]#}/%:*} )

Expand Down

0 comments on commit 368d303

Please sign in to comment.