summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--gsystem-shutil.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gsystem-shutil.c b/gsystem-shutil.c
index 4ea3ca9..a8dbc18 100644
--- a/gsystem-shutil.c
+++ b/gsystem-shutil.c
@@ -362,7 +362,7 @@ gs_shutil_rm_rf (GFile *path,
{
;
}
- else if (errsv == ENOTDIR)
+ else if (errsv == ENOTDIR || errsv == ELOOP)
{
if (!gs_file_unlink (path, cancellable, error))
goto out;