]> git.sur5r.net Git - bacula/bacula/commitdiff
Skip FT_RESTORE_FIRST in verify
authorKern Sibbald <kern@sibbald.com>
Sun, 18 Apr 2010 05:42:12 +0000 (07:42 +0200)
committerEric Bollengier <eric@eb.homelinux.org>
Mon, 2 Aug 2010 14:53:13 +0000 (16:53 +0200)
bacula/src/filed/verify.c

index 5f9647db81aeb737840684d8accf953fc3e0103d..49bddf589ea2317e7dbc4dcb23794e6dcf92cf73 100644 (file)
@@ -155,6 +155,8 @@ static int verify_file(JCR *jcr, FF_PKT *ff_pkt, bool top_level)
    case FT_NOFSCHG:
       Jmsg(jcr, M_SKIPPED, 1, _("     File system change prohibited. Directory skipped: %s\n"), ff_pkt->fname);
       return 1;
+   case FT_RESTORE_FIRST:
+      return 1;                       /* silently skip */
    case FT_NOOPEN: {
       berrno be;
       be.set_errno(ff_pkt->ff_errno);