Hi,

Diff fixes reference to one of the functions. There is no ug_err(), but
I guess it should be just err(). Discovered via small typo in an URL.

Before:
# sysupgrade -s file:/var/cache/openbsd
/usr/sbin/sysupgrade[112]: ug_err: not found

After:
# sysupgrade -s file:/var/cache/openbsd
sysupgrade: invalid installurl: file:/var/cache/openbsd

Index: sysupgrade.sh
===================================================================
RCS file: /cvs/src/usr.sbin/sysupgrade/sysupgrade.sh,v
retrieving revision 1.43
diff -u -p -u -r1.43 sysupgrade.sh
--- sysupgrade.sh       21 Oct 2020 10:28:49 -0000      1.43
+++ sysupgrade.sh       22 Oct 2020 07:01:18 -0000
@@ -109,7 +109,7 @@ case $# in
 *)     usage
 esac
 [[ $MIRROR == @(file|ftp|http|https)://* ]] ||
-       ug_err "invalid installurl: $MIRROR"
+       err "invalid installurl: $MIRROR"
 
 if ! $RELEASE && [[ ${#_KERNV[*]} == 2 ]]; then
        SNAP=true

-- 
Regards,
 Mikolaj

Reply via email to