Merge pull request #7786 from mglae/le12_createlog_no_journal

busybox: createlog: don't include journal files of persistent logging
This commit is contained in:
CvH 2023-05-07 12:05:29 +02:00 committed by GitHub
commit d960a6d713
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -137,7 +137,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