diff options
author | Nikias Bassen | 2016-10-21 14:51:02 +0200 |
---|---|---|
committer | Nikias Bassen | 2016-10-21 14:51:02 +0200 |
commit | 2c16751bafb41a049e30f211c2a21c3b8c68259e (patch) | |
tree | 0c667dedaf70cd885441946da7c9fd14d70a9b16 /tools | |
parent | 5dd8b52915cb5d9be91549366e989b28f3e29890 (diff) | |
download | libimobiledevice-2c16751bafb41a049e30f211c2a21c3b8c68259e.tar.gz libimobiledevice-2c16751bafb41a049e30f211c2a21c3b8c68259e.tar.bz2 |
idevicebackup2: Don't report an error when file to remove doesn't exist
Diffstat (limited to 'tools')
-rw-r--r-- | tools/idevicebackup2.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/idevicebackup2.c b/tools/idevicebackup2.c index f47ff33..d355200 100644 --- a/tools/idevicebackup2.c +++ b/tools/idevicebackup2.c @@ -2128,7 +2128,7 @@ checkpoint: } else { res = remove_file(newpath); } - if (res != 0) { + if (res != 0 && res != ENOENT) { if (!suppress_warning) printf("Could not remove '%s': %s (%d)\n", newpath, strerror(res), res); errcode = errno_to_device_error(res); |