diff options
author | Denys Vlasenko | 2010-10-28 18:57:19 +0200 |
---|---|---|
committer | Denys Vlasenko | 2010-10-28 18:57:19 +0200 |
commit | e4dcba1c103dc28e927e004791e331aaf604383d (patch) | |
tree | a18094ecc54fcea2cb523a802e0c414c3e6f85bf /loginutils/login.c | |
parent | 776509544123c68bbc128c0fdb2f699062d294cf (diff) | |
download | busybox-e4dcba1c103dc28e927e004791e331aaf604383d.zip busybox-e4dcba1c103dc28e927e004791e331aaf604383d.tar.gz |
*: whitespace fixes
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'loginutils/login.c')
-rw-r--r-- | loginutils/login.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/loginutils/login.c b/loginutils/login.c index 3065eaa..9a624df 100644 --- a/loginutils/login.c +++ b/loginutils/login.c @@ -124,7 +124,7 @@ static void run_login_script(struct passwd *pw, char *full_tty) xsetenv("LOGIN_UID", utoa(pw->pw_uid)); xsetenv("LOGIN_GID", utoa(pw->pw_gid)); xsetenv("LOGIN_SHELL", pw->pw_shell); - spawn_and_wait(t_argv); /* NOMMU-friendly */ + spawn_and_wait(t_argv); /* NOMMU-friendly */ unsetenv("LOGIN_TTY"); unsetenv("LOGIN_USER"); unsetenv("LOGIN_UID"); @@ -245,7 +245,7 @@ int login_main(int argc UNUSED_PARAM, char **argv) /* Let's find out and memorize our tty */ if (!isatty(STDIN_FILENO) || !isatty(STDOUT_FILENO) || !isatty(STDERR_FILENO)) - return EXIT_FAILURE; /* Must be a terminal */ + return EXIT_FAILURE; /* Must be a terminal */ full_tty = xmalloc_ttyname(STDIN_FILENO); if (!full_tty) full_tty = xstrdup("UNKNOWN"); |