Index: runtime/bin/directory_linux.cc |
diff --git a/runtime/bin/directory_linux.cc b/runtime/bin/directory_linux.cc |
index d150bf276daff920e6a9b55ae0271bff133564c1..29d488ac8a79b5b3d9124e6e005ae8e19094d542 100644 |
--- a/runtime/bin/directory_linux.cc |
+++ b/runtime/bin/directory_linux.cc |
@@ -270,6 +270,7 @@ static bool DeleteRecursively(PathBuffer* path) { |
break; |
case DT_REG: |
case DT_LNK: |
+ case DT_SOCK: |
// Treat all links as files. This will delete the link which |
// is what we want no matter if the link target is a file or a |
// directory. |