On Sun, Sep 19, 2010 at 11:15:58PM +0200, Michal Trojnara wrote:
Version 4.34, 2010.09.19, urgency: LOW:
- New features
- Sample stunnel.init updated based on Debian init script.
There's a silly bug in this script, just discovered by an user. Here's a patch:
---------------------------------------------------------------------- Index: stunnel4/tools/stunnel.init.in =================================================================== --- stunnel4.orig/tools/stunnel.init.in +++ stunnel4/tools/stunnel.init.in @@ -56,7 +56,7 @@
killdaemons() { - SIGNAL=${$1:-TERM} + SIGNAL=${1:-TERM} for file in $FILES; do PROCLIST=`get_pids $file` if [ "$PROCLIST" ] && kill -s 0 $PROCLIST 2>/dev/null; then ----------------------------------------------------------------------