Package: tspc
Version: 2.1.1-4
Severity: normal


The init script defines functions start() and stop(), which exit on
failure.  Thus:
1) Checking the return code is meaningless
2) If no tspc is running, restart fails, since the stop function
already causes the script to exit.  It should bring tspc up, even if
it was already down (for example, you want /etc/ppp/ip-up.d/0tspc to
work...)

Solution: replace "exit 1" with "return 1" in the init script.

-- System Information:
Debian Release: 3.1
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: i386 (i686)
Kernel: Linux 2.6.10-pisicuta-4
Locale: LANG=en_GB, LC_CTYPE=en_GB (charmap=ISO-8859-1)

Versions of packages tspc depends on:
ii  iproute                     20041019-3   Professional tools to control the 
ii  libc6                       2.3.2.ds1-20 GNU C Library: Shared libraries an
ii  net-tools                   1.60-10      The NET-3 networking toolkit

-- no debconf information


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to