Re: Linux LSB init script

From: Wolfgang Wilhelm <wolfgang20121964(at)yahoo(dot)de>
To: Kevin Grittner <Kevin(dot)Grittner(at)wicourts(dot)gov>
Cc: pgsql-hackers(at)postgresql(dot)org
Subject: Re: Linux LSB init script
Date: 2009-09-02 19:52:45
Message-ID: 854062.48757.qm@web23208.mail.ird.yahoo.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Hello Kevin,

a technical comment about line 71 and following of your shell script:

# Check that we have one parameter: action
if [ $# -ne 1 ] ; then
if [ $# -lt 1 -o "$1" = "" ] ] ; then
log_failure_msg "$0: action not specified"
else
log_failure_msg "$0: too many parameters"
fi
log_warning_msg "$usage"
exit 2
fi
action="$1"

I think in the second "if" there's a closing square bracket too much.

Wolfgang

________________________________
Von: Kevin Grittner <Kevin(dot)Grittner(at)wicourts(dot)gov>
An: Andrew Dunstan <andrew(at)dunslane(dot)net>
CC: David Fetter <david(at)fetter(dot)org>; Greg Stark <gsstark(at)mit(dot)edu>; pgsql-hackers(at)postgresql(dot)org
Gesendet: Montag, den 31. August 2009, 21:06:22 Uhr
Betreff: Re: [HACKERS] Linux LSB init script

Andrew Dunstan <andrew(at)dunslane(dot)net> wrote:

> cvsutils

That allowed me to use 'cvsdo add' and 'cvs diff -cN' to generate the
attached. This contains a couple minor fixes to what I posted in "new
file" form. I was holding off on the CommitFest entry until I sorted
out the format; I'll link here as version 1 of the patch.

-Kevin

Attachment Content-Type Size
linux-lsb-1.patch text/x-patch 8.8 KB

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Joshua D. Drake 2009-09-02 19:52:51 Re: community decision-making & 8.5
Previous Message Selena Deckelmann 2009-09-02 19:50:18 Re: community decision-making & 8.5