Package: gogoc
Version: 1:1.2-4
Severity: normal
File: /usr/share/gogoc/template/linux.sh

If no PID is found via

PID=`ps axww | grep $1 | grep -v grep | awk '{ print $1;}'`

the following test will produce an error message:

if [ ! -z $PID ]; then

/usr/share/gogoc/template/linux.sh: 31: [: 11203: unexpected operator

$PID should be quoted as "$PID" so you can properly test for an empty
string.

Michael


-- System Information:
Debian Release: wheezy/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (200, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 3.5-trunk-amd64 (SMP w/4 CPU cores)
Locale: LANG=de_DE.utf8, LC_CTYPE=de_DE.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages gogoc depends on:
ii  iproute      20120521-3
ii  libc6        2.13-37
ii  libgcc1      1:4.7.2-4
ii  libssl1.0.0  1.0.1c-4
ii  libstdc++6   4.7.2-4
ii  net-tools    1.60-24.2

Versions of packages gogoc recommends:
ii  radvd  1:1.9.1-1

gogoc suggests no packages.

-- Configuration Files:
/etc/gogoc/gogoc.conf changed [not included]

-- no debconf information


-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to