logread: use oneshot mode without -f, wait for logd to close
authorFelix Fietkau <nbd@nbd.name>
Mon, 6 Nov 2017 10:28:33 +0000 (11:28 +0100)
committerFelix Fietkau <nbd@nbd.name>
Mon, 6 Nov 2017 10:28:35 +0000 (11:28 +0100)
commit4a10d4e02897be37a517bc6e016e9d722086765e
tree8ece1da863a68a08d9503722dbe0debf6cab0dc9
parentbdcacad90830722339d1f11e5a1edfe5002c5ec2
logread: use oneshot mode without -f, wait for logd to close

Fixes a race condition in dealing with larger amounts of log data

Signed-off-by: Felix Fietkau <nbd@nbd.name>
log/logread.c