diff options
Diffstat (limited to 'libbb/setup_environment.c')
-rw-r--r-- | libbb/setup_environment.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libbb/setup_environment.c b/libbb/setup_environment.c index aeb285a..dfab786 100644 --- a/libbb/setup_environment.c +++ b/libbb/setup_environment.c @@ -58,7 +58,7 @@ void setup_environment ( const char *shell, int loginshell, int changeenv, const * to change to that directory. There is no "default" home * directory. * Some systems default to HOME=/ - */ + */ if ( chdir ( pw-> pw_dir )) { if ( chdir ( "/" )) { syslog ( LOG_WARNING, "unable to cd to %s' for user %s'\n", pw-> pw_dir, pw-> pw_name ); @@ -81,7 +81,7 @@ void setup_environment ( const char *shell, int loginshell, int changeenv, const } else if ( changeenv ) { /* Set HOME, SHELL, and if not becoming a super-user, - USER and LOGNAME. */ + USER and LOGNAME. */ xsetenv ( "HOME", pw-> pw_dir ); xsetenv ( "SHELL", shell ); if ( pw-> pw_uid ) { |