aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--shell/shell_common.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/shell/shell_common.c b/shell/shell_common.c
index f95a35e8b..e3d6783b5 100644
--- a/shell/shell_common.c
+++ b/shell/shell_common.c
@@ -230,7 +230,7 @@ shell_builtin_read(struct builtin_read_params *params)
230 * without variable names (bash compat). 230 * without variable names (bash compat).
231 * Thus, "read" and "read REPLY" are not the same. 231 * Thus, "read" and "read REPLY" are not the same.
232 */ 232 */
233 if (!params->opt_d && argv[0]) { 233 if (argv[0]) {
234/* http://www.opengroup.org/onlinepubs/9699919799/utilities/V3_chap02.html#tag_18_06_05 */ 234/* http://www.opengroup.org/onlinepubs/9699919799/utilities/V3_chap02.html#tag_18_06_05 */
235 const char *is_ifs = strchr(ifs, c); 235 const char *is_ifs = strchr(ifs, c);
236 if (startword && is_ifs) { 236 if (startword && is_ifs) {