Better words for downloaded snap is older message.
authorotto <otto@openbsd.org>
Wed, 19 Jun 2024 05:22:33 +0000 (05:22 +0000)
committerotto <otto@openbsd.org>
Wed, 19 Jun 2024 05:22:33 +0000 (05:22 +0000)
ok deraadt@ florian@ tb@

usr.sbin/sysupgrade/sysupgrade.sh

index 8f43cad..0b9624a 100644 (file)
@@ -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