sed: fix "sed n (flushes pattern space, terminates early)" testcase failure

Patch based on work by Dengke Du <dengke.du@windriver.com>

Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
2 files changed