Guys -

I don't know who but somebody in the team doesn't like -z in shell
scripts. With each release somebody replaces:

if [ -z $PGHOST ]

with

if [ "x" -eq "x$PGHOST" ]

Unfortunately it's an error. It has to be if [ "x" = "x$PGHOST" ] for
the right syntax in shell. -eq is for numbers, not strings. So pgsql
is broken in 2.8

Serge.
_______________________________________________________
Linux-HA-Dev: [email protected]
http://lists.linux-ha.org/mailman/listinfo/linux-ha-dev
Home Page: http://linux-ha.org/

Reply via email to