Skip to content

Commit 665db20

Browse files
committed
Cleanup of effective username test.
1 parent f74b94d commit 665db20

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/bin/initdb/initdb.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@
2626
#
2727
#
2828
# IDENTIFICATION
29-
# $Header: /cvsroot/pgsql/src/bin/initdb/Attic/initdb.sh,v 1.75 1999/12/18 04:04:24 momjian Exp $
29+
# $Header: /cvsroot/pgsql/src/bin/initdb/Attic/initdb.sh,v 1.76 1999/12/20 05:39:40 momjian Exp $
3030
#
3131
#-------------------------------------------------------------------------
3232

@@ -52,7 +52,7 @@ then
5252
exit 1
5353
fi
5454

55-
EffectiveUser=`id -n -u 2> /dev/null` || EffectiveUser=`whoami 2> /dev/null`
55+
EffectiveUser=`id -n -u 2>/dev/null || whoami 2>/dev/null`
5656
TEMPFILE="/tmp/initdb.$$"
5757

5858
#

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy