Expanded the comment about the -F flag.

Fixed a nearby style bug (unreachable break).
This commit is contained in:
Bruce Evans 2003-12-27 14:02:52 +00:00
parent 2d8d6274dc
commit 824fd46dca
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=123892

View File

@ -78,9 +78,15 @@ main(int argc, char **argv)
force = 1;
break;
case 'F':
/* We can never run in background */
/*
* We can never run in the background. We must exit
* silently with a nonzero exit code so that fsck(8)
* can probe our support for -F. The exit code
* doesn't really matter, but we use an unusual one
* in case someone tries -F directly. The -F flag
* is intentionally left out of the usage message.
*/
exit(5);
break;
case 'n':
alwaysno = 1;
alwaysyes = preen = 0;