git: acfb506b3d00 - main - newvers.sh: allow multiple -V args in one invocation

From: Ed Maste <emaste_at_FreeBSD.org>
Date: Sat, 12 Feb 2022 16:07:09 UTC
The branch main has been updated by emaste:

URL: https://cgit.FreeBSD.org/src/commit/?id=acfb506b3d008cab2e5e73fe52ec718766a53560

commit acfb506b3d008cab2e5e73fe52ec718766a53560
Author:     Ed Maste <emaste@FreeBSD.org>
AuthorDate: 2022-02-11 17:55:46 +0000
Commit:     Ed Maste <emaste@FreeBSD.org>
CommitDate: 2022-02-12 16:06:54 +0000

    newvers.sh: allow multiple -V args in one invocation
    
    Reviewed by:    imp
    MFC after:      1 week
    Sponsored by:   The FreeBSD Foundation
    Differential Revision:  https://reviews.freebsd.org/D34253
---
 sys/conf/newvers.sh | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys/conf/newvers.sh b/sys/conf/newvers.sh
index 495d9c0e862e..84c498580d4e 100644
--- a/sys/conf/newvers.sh
+++ b/sys/conf/newvers.sh
@@ -127,7 +127,7 @@ while getopts crRvV: opt; do
 		v=$OPTARG
 		eval val=\$${v}
 		echo ${v}=\"${val}\"
-		exit 0
+		VARS_ONLY=1
 		;;
 	esac
 done