| Index: runtime/bin/directory_macos.cc | 
| diff --git a/runtime/bin/directory_macos.cc b/runtime/bin/directory_macos.cc | 
| index 55994aa79abdd26998d52d5f3a4de0f706bd918a..61534e440dcdf84c70f789d4c36ad527777a3239 100644 | 
| --- a/runtime/bin/directory_macos.cc | 
| +++ b/runtime/bin/directory_macos.cc | 
| @@ -269,6 +269,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. | 
|  |