summaryrefslogtreecommitdiff
path: root/usr.sbin/sysupgrade
diff options
context:
space:
mode:
authorIan Darwin <ian@cvs.openbsd.org>2019-04-29 22:27:40 +0000
committerIan Darwin <ian@cvs.openbsd.org>2019-04-29 22:27:40 +0000
commit026b3707426458759e8413106c35bf5949700714 (patch)
treee396f1dee7414619ee779425c9d78fd34855d5b5 /usr.sbin/sysupgrade
parent4cd5b3b5ea544c40c998781b0fdbe1523a0e1e00 (diff)
Install upgrade kernel with ln -f, as per kernel build. ok florian@
Diffstat (limited to 'usr.sbin/sysupgrade')
-rw-r--r--usr.sbin/sysupgrade/sysupgrade.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.sbin/sysupgrade/sysupgrade.sh b/usr.sbin/sysupgrade/sysupgrade.sh
index 1cec12a1c15..e532d7f94d1 100644
--- a/usr.sbin/sysupgrade/sysupgrade.sh
+++ b/usr.sbin/sysupgrade/sysupgrade.sh
@@ -1,6 +1,6 @@
#!/bin/ksh
#
-# $OpenBSD: sysupgrade.sh,v 1.7 2019/04/28 07:21:28 florian Exp $
+# $OpenBSD: sysupgrade.sh,v 1.8 2019/04/29 22:27:39 ian Exp $
#
# Copyright (c) 1997-2015 Todd Miller, Theo de Raadt, Ken Westerback
# Copyright (c) 2015 Robert Peichaer <rpe@openbsd.org>
@@ -152,7 +152,7 @@ echo Verifying sets.
unpriv signify -qC -p "${SIGNIFY_KEY}" -x SHA256.sig ${SETS}
cp bsd.rd /nbsd.upgrade
-ln /nbsd.upgrade /bsd.upgrade
+ln -f /nbsd.upgrade /bsd.upgrade
rm /nbsd.upgrade
echo Upgrading.