diff options
| author | 2011-04-26 16:05:38 +0200 | |
|---|---|---|
| committer | 2011-04-26 16:05:38 +0200 | |
| commit | d46fe8186ceba38b4f3eddd4b9d01a57fd777f22 (patch) | |
| tree | 7085effc2ae6307ba0924bf0c7332c15232f8d17 /tools/idevicebackup4.c | |
| parent | 73382f3a0303d3982183140c627b4f2409206ad7 (diff) | |
| download | libimobiledevice-d46fe8186ceba38b4f3eddd4b9d01a57fd777f22.tar.gz libimobiledevice-d46fe8186ceba38b4f3eddd4b9d01a57fd777f22.tar.bz2 | |
idevicebackup4: Remove disturbing error message if stat could not find a file
Diffstat (limited to 'tools/idevicebackup4.c')
| -rw-r--r-- | tools/idevicebackup4.c | 3 |
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 | } |
