summaryrefslogtreecommitdiff
path: root/usr.sbin/sysupgrade/sysupgrade.sh
diff options
context:
space:
mode:
authorOtto Moerbeek <otto@cvs.openbsd.org>2024-06-19 05:22:34 +0000
committerOtto Moerbeek <otto@cvs.openbsd.org>2024-06-19 05:22:34 +0000
commita3e990db451eeecabf91e7a02272896f457c8b0a (patch)
treeb9ee15aee9bf47061f3dcd1471784cf98dc0a3f4 /usr.sbin/sysupgrade/sysupgrade.sh
parentf989eb894935f582b5650183500c8537644fd9fe (diff)
Better words for downloaded snap is older message.
ok deraadt@ florian@ tb@
Diffstat (limited to 'usr.sbin/sysupgrade/sysupgrade.sh')
-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 8f43cad7cd8..0b9624aac53 100644
--- a/usr.sbin/sysupgrade/sysupgrade.sh
+++ b/usr.sbin/sysupgrade/sysupgrade.sh
@@ -1,6 +1,6 @@
#!/bin/ksh
#
-# $OpenBSD: sysupgrade.sh,v 1.51 2024/06/18 14:57:59 florian Exp $
+# $OpenBSD: sysupgrade.sh,v 1.52 2024/06/19 05:22:33 otto Exp $
#
# Copyright (c) 1997-2015 Todd Miller, Theo de Raadt, Ken Westerback
# Copyright (c) 2015 Robert Peichaer <rpe@openbsd.org>
@@ -191,7 +191,7 @@ if [[ -e /var/db/installed.BUILDINFO && -e BUILDINFO ]]; then
installed_build_ts=$(cut -f3 -d' ' /var/db/installed.BUILDINFO)
build_ts=$(cut -f3 -d' ' BUILDINFO)
if (( $build_ts < $installed_build_ts )) && ! $FORCE; then
- echo "New snapshot is older than installed snapshot. Use -f to force upgrade."
+ echo "Downloaded snapshot is older than installed snapshot. Use -f to force downgrade."
exit 1
fi
fi