From 84d008806e6e2e4fafd65473bf847f64ba340d9c Mon Sep 17 00:00:00 2001 From: emiyl Date: Sun, 12 Apr 2020 13:59:34 +0100 Subject: [PATCH] minor update as to how logs work --- src/sd_dumper.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/sd_dumper.c b/src/sd_dumper.c index e186ff4..e93a31f 100644 --- a/src/sd_dumper.c +++ b/src/sd_dumper.c @@ -38,8 +38,8 @@ static int DumpFile(char *pPath, const char * output_path) FILE *pReadFile = fopen(pPath, "rb"); if(!pReadFile) { - //console_printf(1, "Can't open file %s\n", pPath); - console_printf(1, "Symlink file, skipping...\n", pPath); + if (detailed_logs) console_printf(1, "Can't open file %s\n", pPath); + if (!detailed_logs) console_printf(1, "Symlink file, skipping...\n", pPath); return -2; }