diff options
Diffstat (limited to 'util-linux/getopt.c')
-rw-r--r-- | util-linux/getopt.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/util-linux/getopt.c b/util-linux/getopt.c index e3b4ca625..bdf5f9716 100644 --- a/util-linux/getopt.c +++ b/util-linux/getopt.c | |||
@@ -255,9 +255,9 @@ static struct option *add_long_options(struct option *long_options, char *option | |||
255 | 255 | ||
256 | static void set_shell(const char *new_shell) | 256 | static void set_shell(const char *new_shell) |
257 | { | 257 | { |
258 | if (!strcmp(new_shell,"bash") || !strcmp(new_shell,"sh")) | 258 | if (!strcmp(new_shell, "bash") || !strcmp(new_shell, "sh")) |
259 | return; | 259 | return; |
260 | if (!strcmp(new_shell,"tcsh") || !strcmp(new_shell,"csh")) | 260 | if (!strcmp(new_shell, "tcsh") || !strcmp(new_shell, "csh")) |
261 | option_mask32 |= SHELL_IS_TCSH; | 261 | option_mask32 |= SHELL_IS_TCSH; |
262 | else | 262 | else |
263 | bb_error_msg("unknown shell '%s', assuming bash", new_shell); | 263 | bb_error_msg("unknown shell '%s', assuming bash", new_shell); |