]> git.michaelhowe.org Git - packages/o/openafs.git/commitdiff
volinfo-dont-bomb-on-attach-failure-20050310
authorDerrick Brashear <shadow@dementia.org>
Fri, 11 Mar 2005 02:54:49 +0000 (02:54 +0000)
committerDerrick Brashear <shadow@dementia.org>
Fri, 11 Mar 2005 02:54:49 +0000 (02:54 +0000)
let volinfo keep going in the face of failure

src/vol/vol-info.c

index 323134e0abcf7e727a818421b5ca49de81c0680a..03d34bba8deed31eafc6cb0f09ef839925a32cb5 100644 (file)
@@ -587,7 +587,7 @@ HandleVolume(struct DiskPartition *dp, char *name)
        vp = AttachVolume(dp, name, &header);
        if (!vp) {
            printf("Volinfo: Error attaching volume header %s\n", name);
-           exit(1);
+           return;
        }
     }
     PrintHeader(vp);