From: Garry Zacheiss Date: Wed, 7 Nov 2001 00:15:27 +0000 (+0000) Subject: solaris-vfsck-do-a-better-job-of-putting-on-the-ufs-fsck-face-for-the-world-20011106 X-Git-Tag: openafs-devel-1_3_0~145 X-Git-Url: https://git.michaelhowe.org/gitweb/?a=commitdiff_plain;h=c602093e51aa46f66ab5fb7cff3b7271876396d7;p=packages%2Fo%2Fopenafs.git solaris-vfsck-do-a-better-job-of-putting-on-the-ufs-fsck-face-for-the-world-20011106 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 --- diff --git a/src/vfsck/main.c b/src/vfsck/main.c index 45add5699..2329b35e9 100644 --- a/src/vfsck/main.c +++ b/src/vfsck/main.c @@ -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