]> git.michaelhowe.org Git - packages/o/openafs.git/commitdiff
STABLE12-solaris-vfsck-do-a-better-job-of-putting-on-the-ufs-fsck-face-for-the-world...
authorGarry Zacheiss <zacheiss@mit.edu>
Wed, 26 Dec 2001 20:26:57 +0000 (20:26 +0000)
committerDerrick Brashear <shadow@dementia.org>
Wed, 26 Dec 2001 20:26:57 +0000 (20:26 +0000)
if you're not using ufs logging it's ok to replace solaris fsck with vfsck,
except sometimes it exits with 40 and that's not a failure to the solaris
scripts.

make it so for us also

src/vfsck/main.c

index 45add56994c855e69d8fecda8aa3d55a57e9e696..2329b35e9b76923f6305237e5167638b9e51c085 100644 (file)
@@ -1074,7 +1074,11 @@ n        printf("(%d frags, %d blocks, %.1f%% fragmentation)\n",
                         exit(-1);
                 else
 #endif
+#ifdef  AFS_SUN5_ENV
+                   exit(exitstat);
+#else
                exit(4);
+#endif
        }
 #endif
 #ifdef VICE