]> git.sur5r.net Git - bacula/bacula/commitdiff
Tweak retry count handling
authorMarco van Wieringen <mvw@planets.elm.net>
Sat, 25 Sep 2010 19:31:10 +0000 (21:31 +0200)
committerEric Bollengier <eric@eb.homelinux.org>
Wed, 6 Oct 2010 09:15:23 +0000 (11:15 +0200)
bacula/src/filed/acl.c

index d3a4d2dcda10874ad70ec089e0dfba3411a5af36..17b79d3ece0818f775bf90056127e26022da8fd5 100644 (file)
@@ -324,7 +324,10 @@ static bacl_exit_code aix_parse_acl_streams(JCR *jcr, int stream)
              */
             switch (errno) {
             case ENOSPC:
-               continue;
+               if (cnt < 3) {
+                  continue;
+               }
+               /* FALL THROUGH */
             default:
                Mmsg2(jcr->errmsg, _("aclx_scanStr error on file \"%s\": ERR=%s\n"),
                      jcr->last_fname, be.bstrerror());