diff options
Diffstat (limited to 'tools')
| -rw-r--r-- | tools/idevicecrashreport.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/tools/idevicecrashreport.c b/tools/idevicecrashreport.c index 5b4b186..dbed041 100644 --- a/tools/idevicecrashreport.c +++ b/tools/idevicecrashreport.c | |||
| @@ -191,7 +191,9 @@ static int afc_client_copy_and_remove_crash_reports(afc_client_t afc, const char | |||
| 191 | } | 191 | } |
| 192 | 192 | ||
| 193 | /* create a symlink pointing to latest log */ | 193 | /* create a symlink pointing to latest log */ |
| 194 | symlink(b, target_filename); | 194 | if (symlink(b, target_filename) < 0) { |
| 195 | fprintf(stderr, "Can't create symlink to %s\n", b); | ||
| 196 | } | ||
| 195 | #endif | 197 | #endif |
| 196 | 198 | ||
| 197 | if (!keep_crash_reports) | 199 | if (!keep_crash_reports) |
