Allow $USER to be an empty string, don't abort(3)..
commita846fdbafeea36327e3b9ac15b4d18c89b2b138a
authorSteffen (Daode) Nurpmeso <sdaoden@users.sf.net>
Sat, 27 Sep 2014 18:39:15 +0000 (27 20:39 +0200)
committerSteffen (Daode) Nurpmeso <sdaoden@users.sf.net>
Sat, 27 Sep 2014 18:50:31 +0000 (27 20:50 +0200)
tree80a6ce52a3c6e491dffd37e941615d09a4a9633a
parent5c842d37aa83cf5ccec21cde2460d95d7fe9cf24
Allow $USER to be an empty string, don't abort(3)..

We yet abort(3) if the user is not known, which is a pretty heavy
action!  Instead exit(67) instead, the BSD /usr/include/sysexits.h
constant for EX_NOUSER.

Also allow an empty user (and an empty -u argument?  ugh!?) to be
idential to an unset $USER, like this invocations like

  $ USER= LC_ALL=C s-nail ...

become possible again.
main.c