diff --git a/builtin-prune.c b/builtin-prune.c
index 545e9c1f9458ed936e2a99a208f75b70f368294c..145ba83651e9c8560e20d6ab449ce64783bc65f5 100644 (file)
--- a/builtin-prune.c
+++ b/builtin-prune.c
}
printf("Removing stale temporary file %s\n", fullpath);
if (!show_only)
}
printf("Removing stale temporary file %s\n", fullpath);
if (!show_only)
- unlink(fullpath);
+ unlink_or_warn(fullpath);
return 0;
}
return 0;
}
(type > 0) ? typename(type) : "unknown");
}
if (!show_only)
(type > 0) ? typename(type) : "unknown");
}
if (!show_only)
- unlink(fullpath);
+ unlink_or_warn(fullpath);
return 0;
}
return 0;
}