Package: dh-make Version: 0.44 Severity: normal Tags: patch
Due typos in init.d.lsb.ex stop_server() function is broken. Line "errorcode=$" must be replaced by "errorcode=$?". -- System Information: Debian Release: lenny/sid APT prefers unstable APT policy: (500, 'unstable'), (500, 'testing') Architecture: i386 (i686) Kernel: Linux 2.6.22-2-686 (SMP w/1 CPU core) Locale: LANG=be_BY.CP1251, LC_CTYPE=be_BY.CP1251 (charmap=CP1251) Shell: /bin/sh linked to /bin/bash Versions of packages dh-make depends on: ii debhelper 5.0.59 helper programs for debian/rules ii dpkg-dev 1.14.7 package building tools for Debian hi make 3.81-3 The GNU version of the "make" util ii perl 5.8.8-11.1 Larry Wall's Practical Extraction dh-make recommends no packages. -- no debconf information
--- /usr/share/debhelper/dh_make/debian/init.d.lsb.ex 2007-08-31 09:26:16.000000000 +0300 +++ init.d.lsb.ex 2007-11-01 14:40:59.000000000 +0200 @@ -136,13 +136,13 @@ if [ -z "$DAEMONUSER" ] ; then start-stop-daemon --stop --quiet --pidfile $PIDFILE \ --exec $DAEMON - errcode=$ + errcode=$? else # if we are using a daemonuser then look for process that match start-stop-daemon --stop --quiet --pidfile $PIDFILE \ --user $DAEMONUSER \ --exec $DAEMON - errcode=$ + errcode=$? fi return $errcode