Author: delphij
Date: Fri Jun  7 01:38:51 2019
New Revision: 348767
URL: https://svnweb.freebsd.org/changeset/base/348767

Log:
  preen should work independently with alwaysyes and alwaysno.
  
  PR:           238375
  MFC after:    2 weeks

Modified:
  head/sbin/fsck_msdosfs/main.c

Modified: head/sbin/fsck_msdosfs/main.c
==============================================================================
--- head/sbin/fsck_msdosfs/main.c       Fri Jun  7 00:02:02 2019        
(r348766)
+++ head/sbin/fsck_msdosfs/main.c       Fri Jun  7 01:38:51 2019        
(r348767)
@@ -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:
_______________________________________________
svn-src-head@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/svn-src-head
To unsubscribe, send any mail to "svn-src-head-unsubscr...@freebsd.org"

Reply via email to