git: 531b495885ee - stable/13 - newvers.sh: allow multiple -V args in one invocation

From: Ed Maste <emaste_at_FreeBSD.org>
Date: Tue, 22 Feb 2022 19:53:11 UTC
The branch stable/13 has been updated by emaste:

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

commit 531b495885eecc962de4c57e682464eb0d476dae
Author:     Ed Maste <emaste@FreeBSD.org>
AuthorDate: 2022-02-11 17:55:46 +0000
Commit:     Ed Maste <emaste@FreeBSD.org>
CommitDate: 2022-02-22 19:53:01 +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
    
    (cherry picked from commit acfb506b3d008cab2e5e73fe52ec718766a53560)
---
 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 acbebbd780b7..6e4df082ed80 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