universal7885: debug_daemon: fix duplicate symbols

Signed-off-by: roynatech2544 <whiteshell2544@naver.com>
This commit is contained in:
roynatech2544 2021-12-14 14:15:10 +09:00
commit 941eae5af8
No known key found for this signature in database
GPG key ID: 9675C32163D88D30
2 changed files with 4 additions and 4 deletions

View file

@ -22,7 +22,7 @@
#include <fstream>
#include <iostream>
bool check_data() {
bool check_data_logcat() {
std::ifstream datafile(CHECK_LOGCAT);
if (datafile.good()) {
datafile.close();
@ -35,7 +35,7 @@ bool check_data() {
}
void copy_logcat() {
if (check_data()) {
if (check_data_logcat()) {
system("/system/bin/logcat -f /data/debug/logs/logcat.txt");
}
}