[buildd-tools-devel] Bug#695513: buildd: /etc/init.d/buildd defines stop() twice

Roland Stigge stigge at antcom.de
Sun Dec 9 15:10:09 UTC 2012


Package: sbuild
Version: 0.63.2-1.1
Severity: minor

Hi,

/etc/init.d/buildd currently defines the function stop() (identically) twice:

stop () {
    log_begin_msg "Stopping $DESC: $NAME"

    start-stop-daemon --stop --quiet --retry 5 --oknodo --pidfile $PIDFILE --name $NAME

    log_end_msg $?
}

stop () {
    log_begin_msg "Stopping $DESC: $NAME"

    start-stop-daemon --stop --quiet --retry 5 --oknodo --pidfile $PIDFILE --name $NAME

    log_end_msg $?
}

Maybe we should remove one of them.

Thanks,

Roland


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

Kernel: Linux 3.5.0 (SMP w/4 CPU cores)
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8) (ignored: LC_ALL set to en_GB.UTF-8)
Shell: /bin/sh linked to /bin/dash



More information about the Buildd-tools-devel mailing list