Commit 665db209 authored by Bruce Momjian's avatar Bruce Momjian

Cleanup of effective username test.

parent f74b94db
...@@ -26,7 +26,7 @@ ...@@ -26,7 +26,7 @@
# #
# #
# IDENTIFICATION # IDENTIFICATION
# $Header: /cvsroot/pgsql/src/bin/initdb/Attic/initdb.sh,v 1.75 1999/12/18 04:04:24 momjian Exp $ # $Header: /cvsroot/pgsql/src/bin/initdb/Attic/initdb.sh,v 1.76 1999/12/20 05:39:40 momjian Exp $
# #
#------------------------------------------------------------------------- #-------------------------------------------------------------------------
...@@ -52,7 +52,7 @@ then ...@@ -52,7 +52,7 @@ then
exit 1 exit 1
fi fi
EffectiveUser=`id -n -u 2> /dev/null` || EffectiveUser=`whoami 2> /dev/null` EffectiveUser=`id -n -u 2>/dev/null || whoami 2>/dev/null`
TEMPFILE="/tmp/initdb.$$" TEMPFILE="/tmp/initdb.$$"
# #
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment