mirror of
https://github.com/LibreELEC/LibreELEC.tv.git
synced 2025-07-28 13:16:41 +00:00
Merge pull request #7787 from mglae/le11_createlog_no_journal
busybox: createlog: don't include journal files of persistent logging
This commit is contained in:
commit
305d1a6518
@ -136,7 +136,7 @@ mkdir -p $BASEDIR/$LOGDIR
|
|||||||
|
|
||||||
# varlog.log
|
# varlog.log
|
||||||
LOGFILE="06_varlog.log"
|
LOGFILE="06_varlog.log"
|
||||||
for i in `find /var/log -type f`; do
|
for i in `find /var/log -name journal -prune -o -type f -print`; do
|
||||||
getlog_cmd cat $i
|
getlog_cmd cat $i
|
||||||
done
|
done
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user