Revert r368776:
authorPedro F. Giffuni <pfg@FreeBSD.org>
Sat, 19 Dec 2020 02:42:14 +0000 (02:42 +0000)
committerPedro F. Giffuni <pfg@FreeBSD.org>
Sat, 19 Dec 2020 02:42:14 +0000 (02:42 +0000)
commita0bed901984022e6e0fdfc017c70e31302de878e
tree59883e1fd6f72f1e364e6ad53cde46db90570b2a
parentebb4fcc7cf3045dcd3b7ff6eb6877fb4ec4a9e05
Revert r368776:
login(1): when exporting variables check the result of setenv(3)

mismatch: the return value upon error is -1, so the code was not
doing nothing.
usr.bin/login/login.c