solaris-vfsck-do-a-better-job-of-putting-on-the-ufs-fsck-face-for-the-world-20011106
authorGarry Zacheiss <zacheiss@mit.edu>
Wed, 7 Nov 2001 00:15:27 +0000 (00:15 +0000)
committerDerrick Brashear <shadow@dementia.org>
Wed, 7 Nov 2001 00:15:27 +0000 (00:15 +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 45add56..2329b35 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