Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 7 Jun 2019 01:38:51 +0000 (UTC)
From:      Xin LI <delphij@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r348767 - head/sbin/fsck_msdosfs
Message-ID:  <201906070138.x571cppB065819@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201906070138.x571cppB065819>