reopen 461774
thanks
> > # /bin/sh -x /etc/init.d/amule-daemon stop
Ok, I see the problem:
> +++ VERBOSE=no
The scripts exits nonzero with VERBOSE=no.
Thanks for persevering. :)
--
Adeodato Simó dato at net.com.org.es
Debian Developer
Il giorno lun, 21/01/2008 alle 16.25 +0100, Adeodato Simó ha scritto:
> do_stop is a function, and those return codes are the return codes of
> the *function*. Later, when the function is used, it is used like
> this:
ok that was my fault, let's check it deeper (i normally use an amule
fork, so
* oggei [Mon, 21 Jan 2008 16:07:24 +0100]:
> Evidence that return 1, taken from /etc/init.d/amule-daemon:
> do_stop()
> {
> # Return
> # 0 if daemon has been stopped
> # 1 if daemon was already stopped
> # 2 if daemon could not be stopped
> start-sto
Il giorno lun, 21/01/2008 alle 15.56 +0100, Adeodato Simó ha scritto:
> Hello alessandro,
>
> > init.d script return 1 if stopping an already stopped / not running
> > daemon, this breaks autogenerated prerm script.
>
> The current amule-daemon init script does that, you can check. If you
> can
Hello alessandro,
> init.d script return 1 if stopping an already stopped / not running
> daemon, this breaks autogenerated prerm script.
The current amule-daemon init script does that, you can check. If you
can see any mistake about that in the script, please don't hesitate to
write back.
Cheer
Package: amule-daemon
Version: 2.1.3-4+b1
Followup-For: Bug #461774
init.d script return 1 if stopping an already stopped / not running
daemon, this breaks autogenerated prerm script.
LSB ( http://snipr.com/1xsnn ) tell stopping a service already stopped
or not running is to be considered success
6 matches
Mail list logo