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:
CvH 2023-05-21 21:47:09 +02:00 committed by GitHub
commit 305d1a6518
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -136,7 +136,7 @@ mkdir -p $BASEDIR/$LOGDIR
# 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
done