Small fix to log collection function

This commit is contained in:
Didgeridoohan 2020-05-21 21:11:42 +02:00 committed by GitHub
parent 611f8758b3
commit 9cd3aa1bc9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -2039,7 +2039,8 @@ collect_logs() {
tar -zcvf propslogs.tar.gz propslogs >> $LOGFILE 2>&1
# Copy package to internal storage
mv -f $MHPCPATH/propslogs.tar.gz /storage/emulated/0 >> $LOGFILE 2>&1
cp -f $MHPCPATH/propslogs.tar.gz /storage/emulated/0 >> $LOGFILE 2>&1
rm -f $MHPCPATH/propslogs.tar.gz
# Remove temporary directory
rm -rf $TMPLOGLOC >> $LOGFILE 2>&1