Fix logread file logging
authorJohn Crispin <blogic@openwrt.org>
Tue, 9 Jul 2013 12:33:14 +0000 (14:33 +0200)
committerJohn Crispin <blogic@openwrt.org>
Tue, 9 Jul 2013 12:50:45 +0000 (14:50 +0200)
commit84c114b0756eaff7caf2693c61bdc307a080558c
treea0f0e43d6a3bd9ae71147c93c69d96aabec22df6
parent8e1c60874f0ec195340b52953311e1521c3a063e
Fix logread file logging

This patch fixes logread and now appends to files instead of writting to the beginning the specified logfile. It also sets the access rights to 0600.

Signed-off-by: Peter Wagner <tripolar@gmx.at>
logread.c