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.