pgsql: Don't crash initdb when we fail to get the current username.

Started by Magnus Haganderover 17 years ago1 messagescomitters
Jump to latest
#1Magnus Hagander
magnus@hagander.net

Log Message:
-----------
Don't crash initdb when we fail to get the current username.
Give an error message and exit instead, like we do elsewhere...

Per report from Wez Furlong and Robert Treat.

Tags:
----
REL8_0_STABLE

Modified Files:
--------------
pgsql/src/bin/initdb:
initdb.c (r1.73.4.4 -> r1.73.4.5)
(http://anoncvs.postgresql.org/cvsweb.cgi/pgsql/src/bin/initdb/initdb.c?r1=1.73.4.4&r2=1.73.4.5)