diff options
author | Tim Riker <tim@rikers.org> | 2006-01-25 00:08:53 +0000 |
---|---|---|
committer | Tim Riker <tim@rikers.org> | 2006-01-25 00:08:53 +0000 |
commit | c1ef7bdd8d002ae0889efcf883d0e1b7faa938d4 (patch) | |
tree | 5f329b7d0c7f20ecced0dc7581a9ba6dc720d965 /libbb/setup_environment.c | |
parent | f64ff682a3d58dbb627e760e6fe1ec21d9ccdf61 (diff) | |
download | busybox-w32-c1ef7bdd8d002ae0889efcf883d0e1b7faa938d4.tar.gz busybox-w32-c1ef7bdd8d002ae0889efcf883d0e1b7faa938d4.tar.bz2 busybox-w32-c1ef7bdd8d002ae0889efcf883d0e1b7faa938d4.zip |
just whitespace
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 aeb285a53..dfab786d9 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 | |||
58 | * to change to that directory. There is no "default" home | 58 | * to change to that directory. There is no "default" home |
59 | * directory. | 59 | * directory. |
60 | * Some systems default to HOME=/ | 60 | * Some systems default to HOME=/ |
61 | */ | 61 | */ |
62 | if ( chdir ( pw-> pw_dir )) { | 62 | if ( chdir ( pw-> pw_dir )) { |
63 | if ( chdir ( "/" )) { | 63 | if ( chdir ( "/" )) { |
64 | syslog ( LOG_WARNING, "unable to cd to %s' for user %s'\n", pw-> pw_dir, pw-> pw_name ); | 64 | 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 | |||
81 | } | 81 | } |
82 | else if ( changeenv ) { | 82 | else if ( changeenv ) { |
83 | /* Set HOME, SHELL, and if not becoming a super-user, | 83 | /* Set HOME, SHELL, and if not becoming a super-user, |
84 | USER and LOGNAME. */ | 84 | USER and LOGNAME. */ |
85 | xsetenv ( "HOME", pw-> pw_dir ); | 85 | xsetenv ( "HOME", pw-> pw_dir ); |
86 | xsetenv ( "SHELL", shell ); | 86 | xsetenv ( "SHELL", shell ); |
87 | if ( pw-> pw_uid ) { | 87 | if ( pw-> pw_uid ) { |