From d46fe8186ceba38b4f3eddd4b9d01a57fd777f22 Mon Sep 17 00:00:00 2001 From: Martin Szulecki Date: Tue, 26 Apr 2011 16:05:38 +0200 Subject: idevicebackup4: Remove disturbing error message if stat could not find a file --- tools/idevicebackup4.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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_ } if (stat(localfile, &fst) < 0) { - printf("%s: stat failed on '%s': %d\n", __func__, localfile, errno); + if (errno != ENOENT) + printf("%s: stat failed on '%s': %d\n", __func__, localfile, errno); errcode = errno; goto leave; } -- cgit v1.1-32-gdbae