Package: ppp
Version: 2.4.3-20041231+2
Severity: minor
Tags: patch
Hi,
this patch fixes the grep pattern, and redirects `ls' error messages
to /dev/null (if users do not have read permissions for the requested
directory).
Regards,
Bastian
-- System Information:
Debian Release: 3.1
APT prefers unstable
APT policy: (500, 'unstable')
Architecture: i386 (i686)
Kernel: Linux 2.6.11-rc5-ck1-treasure1
Locale: [EMAIL PROTECTED], [EMAIL PROTECTED] (charmap=ISO-8859-15)
Versions of packages ppp depends on:
ii libc6 2.3.2.ds1-20 GNU C Library: Shared libraries an
ii libpam-modules 0.76-22 Pluggable Authentication Modules f
ii libpam-runtime 0.76-22 Runtime support for the PAM librar
ii libpam0g 0.76-22 Pluggable Authentication Modules l
ii libpcap0.7 0.7.2-7 System interface for user-level pa
ii makedev 2.3.1-76 creates device files in /dev
ii netbase 4.20 Basic TCP/IP networking system
ii procps 1:3.2.5-1 /proc file system utilities
ii zlib1g 1:1.2.2-4 compression library - runtime
-- no debconf information
--- pon.orig 2005-02-27 23:10:43.184746195 +0100
+++ pon 2005-02-27 23:17:40.253466170 +0100
@@ -9,7 +9,7 @@
COMPREPLY=()
cur=${COMP_WORDS[COMP_CWORD]}
- conns=$(ls --color=none /etc/ppp/peers | egrep -v '\(.bak|~)$')
+ conns=$(ls --color=none /etc/ppp/peers 2>/dev/null | egrep -v
'(.bak|~)$')
if [ $COMP_CWORD -eq 1 ]; then
COMPREPLY=( $(compgen -o filenames -W "$conns" $cur) )
@@ -27,7 +27,7 @@
COMPREPLY=()
prev=${COMP_WORDS[COMP_CWORD-1]}
cur=${COMP_WORDS[COMP_CWORD]}
- conns=$(ls --color=none /etc/ppp/peers | egrep -v '\(.bak|~)$')
+ conns=$(ls --color=none /etc/ppp/peers 2>/dev/null | egrep -v
'(.bak|~)$')
if [[ "$cur" == -* ]]; then
COMPREPLY=( $(compgen -W '-r -d -c -a -h -v' -- $cur) )