Recognize the "-F" option which requests whether the filesystem needs to

be cleaned immediately in foreground, or if its cleaning can be deferred
to background.

Submitted by:	Maxime Henrion <mux@qualys.com>
This commit is contained in:
David E. O'Brien 2001-07-19 16:45:45 +00:00
parent e0c7ae7028
commit c8fb766dde
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=79976

View File

@ -75,7 +75,7 @@ main(argc, argv)
int ret = 0, erg;
int ch;
while ((ch = getopt(argc, argv, "pynf")) != -1) {
while ((ch = getopt(argc, argv, "fFnpy")) != -1) {
switch (ch) {
case 'f':
/*
@ -83,6 +83,10 @@ main(argc, argv)
* have a clean flag
*/
break;
case 'F':
/* We can never run in background */
exit(8);
break;
case 'n':
alwaysno = 1;
alwaysyes = preen = 0;