Skip to content

Commit

Permalink
preen should work independently with alwaysyes and alwaysno.
Browse files Browse the repository at this point in the history
PR:		238375
MFC after:	2 weeks
  • Loading branch information
delphij committed Jun 7, 2019
1 parent 8166d63 commit 915380d
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions sbin/fsck_msdosfs/main.c
Original file line number Diff line number Diff line change
Expand Up @@ -87,16 +87,15 @@ main(int argc, char **argv)
exit(5);
case 'n':
alwaysno = 1;
alwaysyes = preen = 0;
alwaysyes = 0;
break;
case 'y':
alwaysyes = 1;
alwaysno = preen = 0;
alwaysno = 0;
break;

case 'p':
preen = 1;
alwaysyes = alwaysno = 0;
break;

default:
Expand Down

0 comments on commit 915380d

Please sign in to comment.