Tom Lane wrote:
> Bruce Momjian <pgman@candle.pha.pa.us> writes:
> > I applied the attached patch to CVS HEAD and 8.1.X. It looks at LOGNAME
> > only if USER is not set.
>
> > ! if [ "$USER" = 'root' -o "$LOGNAME" = 'root' ]
>
> > ! # only check $LOGNAME if $USER is not set
> > ! if [ "$USER" = 'root' -o \( ! "$USER" -a "$LOGNAME" = 'root' \) ]
>
> Bruce, this patch isn't going to fix anything.
Chris said he did:
> Well all I did to fix it on FreeBSD was to remove the '-o "$LOGNAME" =
> 'root'' bit...
so I figured the patch would help, no?
-- Bruce Momjian http://candle.pha.pa.us SRA OSS, Inc. http://www.sraoss.com
+ If your life is a hard drive, Christ can be your backup. +