Sleep only 1 sec before retry to lock the file
[mmh] / uip / dropsbr.c
index 5fbbb61..45451f8 100644 (file)
@@ -44,8 +44,8 @@ mbox_open(char *file, uid_t uid, gid_t gid, mode_t mode)
 #endif
                        case ETXTBSY:
                                i = errno;
-                               sleep(5);
-                               break;
+                               sleep(1);
+                               continue;
 
                        default:
                                /* just return error */