svn commit: r343410 - head/usr.sbin/freebsd-update

Ed Maste emaste at FreeBSD.org
Thu Jan 24 18:48:16 UTC 2019


Author: emaste
Date: Thu Jan 24 18:48:15 2019
New Revision: 343410
URL: https://svnweb.freebsd.org/changeset/base/343410

Log:
  freebsd-update: fix style from r343271 change
  
  PR:		234771
  Submitted by:	Gerald Aryeetey <aryeeteygerald_rogers.com>
  MFC with:	r343271
  Sponsored by:	The FreeBSD Foundation

Modified:
  head/usr.sbin/freebsd-update/freebsd-update.sh

Modified: head/usr.sbin/freebsd-update/freebsd-update.sh
==============================================================================
--- head/usr.sbin/freebsd-update/freebsd-update.sh	Thu Jan 24 18:41:00 2019	(r343409)
+++ head/usr.sbin/freebsd-update/freebsd-update.sh	Thu Jan 24 18:48:15 2019	(r343410)
@@ -670,20 +670,20 @@ fetchupgrade_check_params () {
 
 	# Disallow upgrade from a version that is not a release
 	case ${RELNUM} in
-		*-RELEASE | *-ALPHA*  | *-BETA* | *-RC*)
-			;;
-		*)
-			echo -n "`basename $0`: "
-			cat <<- EOF
-				Cannot upgrade from a version that is not a release
-				(including alpha, beta and release candidates)
-				using `basename $0`. Instead, FreeBSD can be directly
-				upgraded by source or upgraded to a RELEASE/RELENG version
-				prior to running `basename $0`.
-				Currently running: ${RELNUM}
-			EOF
-			exit 1
-			;;
+	*-RELEASE | *-ALPHA*  | *-BETA* | *-RC*)
+		;;
+	*)
+		echo -n "`basename $0`: "
+		cat <<- EOF
+			Cannot upgrade from a version that is not a release
+			(including alpha, beta and release candidates)
+			using `basename $0`. Instead, FreeBSD can be directly
+			upgraded by source or upgraded to a RELEASE/RELENG version
+			prior to running `basename $0`.
+			Currently running: ${RELNUM}
+		EOF
+		exit 1
+		;;
 	esac
 
 	# Figure out what directory contains the running kernel


More information about the svn-src-head mailing list