aboutsummaryrefslogtreecommitdiff
path: root/website/static/security/patches/EN-23:13/freebsd-update.patch
blob: 76c6b9ff9a533fcd855ea81b3f80d584bd534408 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
--- usr.sbin/freebsd-update/freebsd-update.sh.orig
+++ usr.sbin/freebsd-update/freebsd-update.sh
@@ -916,7 +916,7 @@
 			echo -n "Creating snapshot of existing boot environment... "
 			VERSION=`freebsd-version -ku | sort -V | tail -n 1`
 			TIMESTAMP=`date +"%Y-%m-%d_%H%M%S"`
-			bectl create ${VERSION}_${TIMESTAMP}
+			bectl create -r ${VERSION}_${TIMESTAMP}
 			if [ $? -eq 0 ]; then
 				echo "done.";
 			else