Don't crash initdb when we fail to get the current username.
Magnus Hagander <magnus@hagander.net>
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.
Files
| Path | Change | +/− |
|---|---|---|
| src/bin/initdb/initdb.c | modified | +14 −2 |