aboutsummaryrefslogtreecommitdiff
path: root/libbb/setup_environment.c
diff options
context:
space:
mode:
Diffstat (limited to 'libbb/setup_environment.c')
-rw-r--r--libbb/setup_environment.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/libbb/setup_environment.c b/libbb/setup_environment.c
index b18f8967e..aeb285a53 100644
--- a/libbb/setup_environment.c
+++ b/libbb/setup_environment.c
@@ -52,13 +52,13 @@ void setup_environment ( const char *shell, int loginshell, int changeenv, const
{
if ( loginshell ) {
const char *term;
-
+
/* Change the current working directory to be the home directory
* of the user. It is a fatal error for this process to be unable
* 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 );