summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--sbin/fsck_msdosfs/main.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/sbin/fsck_msdosfs/main.c b/sbin/fsck_msdosfs/main.c
index dec3e39..069cc59 100644
--- a/sbin/fsck_msdosfs/main.c
+++ b/sbin/fsck_msdosfs/main.c
@@ -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;
OpenPOWER on IntegriCloud