freebsd-src/sbin/growfs
Enji Cooper 81a349bad3 MFC r324478:
Check the exit code from fsck_ffs instead of relying on MODIFIED being in the output

^/head@r323923 changed when MODIFIED is printed at exit. It's better to follow the
documented way of determining whether or not a filesystem is clean per fsck_ffs, i.e.,
ensure that the exit code is either 0 or 7.

The pass/fail determination is brittle prior to this commit, and ^/head@r323923 made
the issue apparent -- thus this needs to be fixed independent of ^/head@r323923.

PR:		222780
MFC with:	r323923
2017-10-17 15:49:36 +00:00
..
tests MFC r324478: 2017-10-17 15:49:36 +00:00
debug.c MFC r256448, r257029; 2013-12-11 19:25:17 +00:00
debug.h
growfs.8 MFC r267667: 2016-10-16 22:02:50 +00:00
growfs.c MFC r281929: 2015-06-21 06:49:44 +00:00
Makefile MFC r281929: 2015-06-21 06:49:44 +00:00