mirror of
https://github.com/opnsense/src.git
synced 2026-04-24 23:57:30 -04:00
Expanded the comment about the -F flag.
Fixed a nearby style bug (unreachable break).
This commit is contained in:
parent
2d8d6274dc
commit
824fd46dca
1 changed files with 8 additions and 2 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Reference in a new issue