summaryrefslogtreecommitdiffstats
path: root/src/scanner.l
diff options
context:
space:
mode:
authorPhil Sutter <phil@nwl.cc>2023-09-29 19:59:12 +0200
committerPhil Sutter <phil@nwl.cc>2023-09-29 20:06:41 +0200
commit4a3dcbb44389edc5aba8dbc9317e8c6293263a66 (patch)
tree13992d1310633bccba302d93a28f16bb5af1f919 /src/scanner.l
parent999ca7dade519ad5757f07a9c488b326a5e7d785 (diff)
tests: shell: sets/reset_command_0: Fix drop_seconds()
The function print_times() skips any time elements which are zero, so output may lack the ms part. Adjust the sed call dropping anything but the minutes value to not fail in that case. Reported-by: Pablo Neira Ayuso <pablo@netfilter.org> Fixes: 255ec36a11525 ("tests: shell: Stabilize sets/reset_command_0 test") Signed-off-by: Phil Sutter <phil@nwl.cc>
Diffstat (limited to 'src/scanner.l')
0 files changed, 0 insertions, 0 deletions