aboutsummaryrefslogtreecommitdiff
path: root/toys
diff options
context:
space:
mode:
Diffstat (limited to 'toys')
-rw-r--r--toys/posix/sed.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/toys/posix/sed.c b/toys/posix/sed.c
index 1935417d..fa40dbf5 100644
--- a/toys/posix/sed.c
+++ b/toys/posix/sed.c
@@ -973,7 +973,7 @@ resume_a:
// btTqQ: end with space or semicolon, aicrw continue to newline.
if (!(end = strcspn(line, strchr(":btTqQ", c) ? "}; \t\r\n\v\f" : "\n"))){
// Argument's optional for btTqQ
- if (strchr("btT", c)) continue;
+ if (strchr("btTqQ", c)) continue;
else if (!command->arg1) break;
}
// Error checking: qQ can only have digits after them