diff options
author | Rob Landley <rob@landley.net> | 2019-09-15 15:47:42 -0500 |
---|---|---|
committer | Rob Landley <rob@landley.net> | 2019-09-15 15:47:42 -0500 |
commit | 0e00010064a39c1f915d894ccc1fa7a8086c0a8b (patch) | |
tree | 3f727c796f1c3b5c4aa80e7c56aedf587592bef7 | |
parent | d9b601e05630bc472c2f061d6d73b8a1ed415f90 (diff) | |
download | toybox-0e00010064a39c1f915d894ccc1fa7a8086c0a8b.tar.gz |
Fix failing test.
-rw-r--r-- | toys/posix/sed.c | 2 |
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 |