diff options
Diffstat (limited to 'usr.bin/login/login.c')
-rw-r--r-- | usr.bin/login/login.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.bin/login/login.c b/usr.bin/login/login.c index 4a2abb4..7827ea1 100644 --- a/usr.bin/login/login.c +++ b/usr.bin/login/login.c @@ -745,8 +745,8 @@ export_pam_environment() pam_env = pam_getenvlist(pamh); if (pam_env != NULL) { for (pp = pam_env; *pp != NULL; pp++) { - if (!export(*pp)) - free(*pp); + (void)export(*pp); + free(*pp); } } } |