Merge "Look for visible vols for a user under /mnt/user/<userId>/package/."
diff --git a/Utils.cpp b/Utils.cpp
index 6e0fe21..45183ed 100644
--- a/Utils.cpp
+++ b/Utils.cpp
@@ -902,7 +902,7 @@
     if (res < 0) {
         return res;
     }
-    if (rmdir(pathname.c_str()) != 0) {
+    if (TEMP_FAILURE_RETRY(rmdir(pathname.c_str())) < 0 && errno != ENOENT) {
         PLOG(ERROR) << "rmdir failed on " << pathname;
         return -errno;
     }