diff options
author | Alin Năstac <mrness@gentoo.org> | 2005-12-24 16:51:23 +0000 |
---|---|---|
committer | Alin Năstac <mrness@gentoo.org> | 2005-12-24 16:51:23 +0000 |
commit | 8d857af8bf335103ce7abadc10e838d38e669337 (patch) | |
tree | 972d73b26057c915147e8da0df343398f2b42372 | |
parent | Stable on hppa. (diff) | |
download | gentoo-2-8d857af8bf335103ce7abadc10e838d38e669337.tar.gz gentoo-2-8d857af8bf335103ce7abadc10e838d38e669337.tar.bz2 gentoo-2-8d857af8bf335103ce7abadc10e838d38e669337.zip |
remove pid cleanup from init script - made stop to return error code
(Portage version: 2.0.51.22-r3)
-rw-r--r-- | net-proxy/dante/ChangeLog | 6 | ||||
-rw-r--r-- | net-proxy/dante/files/dante-sockd-init | 7 |
2 files changed, 7 insertions, 6 deletions
diff --git a/net-proxy/dante/ChangeLog b/net-proxy/dante/ChangeLog index 41e4131dd95a..d4bca211f4ce 100644 --- a/net-proxy/dante/ChangeLog +++ b/net-proxy/dante/ChangeLog @@ -1,6 +1,10 @@ # ChangeLog for net-proxy/dante # Copyright 1999-2005 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/net-proxy/dante/ChangeLog,v 1.22 2005/12/18 18:03:44 corsair Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-proxy/dante/ChangeLog,v 1.23 2005/12/24 16:51:23 mrness Exp $ + + 24 Dec 2005; Alin Nastac <mrness@gentoo.org> files/dante-sockd-init: + Remove uneeded pid cleanup from init script, which made stop() to + return error code even though it did succeded. 18 Dec 2005; Markus Rothe <corsair@gentoo.org> dante-1.1.18.ebuild: Stable on ppc64 diff --git a/net-proxy/dante/files/dante-sockd-init b/net-proxy/dante/files/dante-sockd-init index dd5285fdcf7c..f24eb76cc23f 100644 --- a/net-proxy/dante/files/dante-sockd-init +++ b/net-proxy/dante/files/dante-sockd-init @@ -1,7 +1,7 @@ #!/sbin/runscript # Copyright 1999-2004 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/net-proxy/dante/files/dante-sockd-init,v 1.2 2005/06/04 12:30:59 mrness Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-proxy/dante/files/dante-sockd-init,v 1.3 2005/12/24 16:51:23 mrness Exp $ SOCKD_OPT="-D" [ "${SOCKD_FORKDEPTH}" -gt 1 ] && SOCKD_OPT="${SOCKD_OPT} -N ${SOCKD_FORKDEPTH}" @@ -51,8 +51,5 @@ start() { stop() { ebegin "Stopping dante sockd" start-stop-daemon --stop --quiet --pidfile $PIDFILE - eend $? "Failed to stop sockd" || return 1 - - # clean stale pidfile - [ -f "$PIDFILE" ] && rm -f $PIDFILE + eend $? "Failed to stop sockd" } |