From: Garry Zacheiss Date: Wed, 26 Dec 2001 20:26:57 +0000 (+0000) Subject: STABLE12-solaris-vfsck-do-a-better-job-of-putting-on-the-ufs-fsck-face-for-the-world... X-Git-Tag: openafs-stable-1_2_3~74 X-Git-Url: https://git.michaelhowe.org/gitweb/?a=commitdiff_plain;h=bf363ba30cd81c38f495bb9e6e8c5e8dad59d942;p=packages%2Fo%2Fopenafs.git STABLE12-solaris-vfsck-do-a-better-job-of-putting-on-the-ufs-fsck-face-for-the-world-20011226 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