[Devel] wrong parenthesis in packaging/debian/openser.init

Dan Pascu dan at ag-projects.com
Wed Feb 7 11:06:16 CET 2007


Your patch is wrong as it will kill the whole purpose of that line to 
collect only the stderr from the openser check command. That line has to 
discard stdout and redirect stderr to sdtout without discarding it.

On Wednesday 07 February 2007 11:44, Henning Westerholt wrote:
> Hello,
>
> the packaging/debian/openser.init file in cvs don't work on ubuntu
> 6.10, sh reports a syntax error. The following patch fixes the problem.
>
> Best regards,
>
> Henning Westerholt
>
>
>
> Index: openser.init
> ===================================================================
> RCS file: /cvsroot/openser/sip-server/packaging/debian/openser.init,v
> retrieving revision 1.10
> diff -r1.10 openser.init
> 41c41
> <       out=$(($DAEMON -c > /dev/null) 2>&1)
> ---
>
> >       out=$($DAEMON -c > /dev/null 2>&1)
>
> _______________________________________________
> Devel mailing list
> Devel at openser.org
> http://openser.org/cgi-bin/mailman/listinfo/devel

-- 
Dan



More information about the Devel mailing list