diff options
Diffstat (limited to 'shell')
-rw-r--r-- | shell/msh.c | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/shell/msh.c b/shell/msh.c index e43cb1875..c88308f8f 100644 --- a/shell/msh.c +++ b/shell/msh.c | |||
@@ -4860,9 +4860,12 @@ static int qstrchar(struct ioarg *ap) | |||
4860 | { | 4860 | { |
4861 | int c; | 4861 | int c; |
4862 | 4862 | ||
4863 | if (ap->aword == NULL) || (c = *ap->aword++) == 0) | 4863 | if (ap->aword == NULL) |
4864 | return 0; | 4864 | return 0; |
4865 | return c | QUOTE; | 4865 | c = *ap->aword++; |
4866 | if (c) | ||
4867 | c |= QUOTE; | ||
4868 | return c; | ||
4866 | } | 4869 | } |
4867 | 4870 | ||
4868 | /* | 4871 | /* |