From bf363ba30cd81c38f495bb9e6e8c5e8dad59d942 Mon Sep 17 00:00:00 2001 From: Garry Zacheiss Date: Wed, 26 Dec 2001 20:26:57 +0000 Subject: [PATCH] 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 --- src/vfsck/main.c | 4 ++++ 1 file changed, 4 insertions(+) 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 -- 2.39.5