aboutsummaryrefslogtreecommitdiff
path: root/shell/ash.c
diff options
context:
space:
mode:
authorDenys Vlasenko <vda.linux@googlemail.com>2010-01-08 15:44:07 +0100
committerDenys Vlasenko <vda.linux@googlemail.com>2010-01-08 15:44:07 +0100
commit8cd04d1cb658227d3c6eeb2a377314ca9cdf249d (patch)
tree4a0b848cc7981db8bec06f6fa7f6be30f11134c2 /shell/ash.c
parentc3c1fb676b900ed39c0cfa984059c1d40197b601 (diff)
downloadbusybox-8cd04d1cb658227d3c6eeb2a377314ca9cdf249d.tar.gz
ash: fix for read $IFS splitting. Closes bug 235
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'shell/ash.c')
-rw-r--r--shell/ash.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/shell/ash.c b/shell/ash.c
index 2c1779f32..b47f0e881 100644
--- a/shell/ash.c
+++ b/shell/ash.c
@@ -12615,7 +12615,7 @@ readcmd(int argc UNUSED_PARAM, char **argv UNUSED_PARAM)
#endif
status = 0;
- startword = 2;
+ startword = 1;
backslash = 0;
#if ENABLE_ASH_READ_TIMEOUT
if (timeout) /* NB: ensuring end_ms is nonzero */