Skip to content
Snippets Groups Projects
Commit 0de4fc98 authored by Simon McVittie's avatar Simon McVittie
Browse files

utils: If _srt_rm_rf cannot remove a directory, say why

parent aec7194e
Branches
Tags
No related merge requests found
......@@ -732,7 +732,10 @@ ftw_remove (const gchar *path,
struct FTW *ftwbuf)
{
if (remove (path) < 0)
return -1;
{
g_debug ("Unable to remove %s: %s", path, g_strerror (errno));
return -1;
}
return 0;
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment