Code style fixes, no code changes
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
This commit is contained in:
parent
038a977d47
commit
1d3a04a3a4
13 changed files with 32 additions and 28 deletions
|
@ -347,9 +347,9 @@ static struct option *add_long_options(struct option *long_options, char *option
|
|||
|
||||
static void set_shell(const char *new_shell)
|
||||
{
|
||||
if (!strcmp(new_shell, "bash") || !strcmp(new_shell, "sh"))
|
||||
if (strcmp(new_shell, "bash") == 0 || strcmp(new_shell, "sh") == 0)
|
||||
return;
|
||||
if (!strcmp(new_shell, "tcsh") || !strcmp(new_shell, "csh"))
|
||||
if (strcmp(new_shell, "tcsh") == 0 || strcmp(new_shell, "csh") == 0)
|
||||
option_mask32 |= SHELL_IS_TCSH;
|
||||
else
|
||||
bb_error_msg("unknown shell '%s', assuming bash", new_shell);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue