summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--tools/idevicebackup4.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/tools/idevicebackup4.c b/tools/idevicebackup4.c
index 4aa0d46..0d18338 100644
--- a/tools/idevicebackup4.c
+++ b/tools/idevicebackup4.c
@@ -548,7 +548,8 @@ static int mb2_handle_send_file(const char *backup_dir, const char *path, plist_
548 } 548 }
549 549
550 if (stat(localfile, &fst) < 0) { 550 if (stat(localfile, &fst) < 0) {
551 printf("%s: stat failed on '%s': %d\n", __func__, localfile, errno); 551 if (errno != ENOENT)
552 printf("%s: stat failed on '%s': %d\n", __func__, localfile, errno);
552 errcode = errno; 553 errcode = errno;
553 goto leave; 554 goto leave;
554 } 555 }