=================================================================== RCS file: /cvs/openbsd/update_openbsd/update_openbsd,v retrieving revision 1.111 retrieving revision 1.113 diff -u -r1.111 -r1.113 --- openbsd/update_openbsd/update_openbsd 2018/12/16 20:12:16 1.111 +++ openbsd/update_openbsd/update_openbsd 2018/12/16 20:31:06 1.113 @@ -1,5 +1,5 @@ #!/bin/sh -# $AFresh1: update_openbsd,v 1.110 2018/09/30 23:31:27 andrew Exp $ +# $AFresh1: update_openbsd,v 1.112 2018/12/16 20:23:38 andrew Exp $ # # Copyright (c) 2012 Andrew Fresh # @@ -245,7 +245,7 @@ [ "$KERNEL_ROOT" ] && break done - if ![ "$KERNEL_ROOT" ]; then + if ! [ "$KERNEL_ROOT" ]; then echo "Unable to find KERNEL_ROOT, tried $_pkr" >&2 exit 2 fi @@ -665,9 +665,11 @@ echo mount_boot_device +l=$KERNEL_ROOT +[ "$l" = / ] || l="$BOOT_DEVICE:" for k in $INSTALL_KERNELS; do if [ -e $KERNEL_ROOT$k ]; then - echo "Existing $BOOT_DEVICE:$k" + echo "Existing $l$k" kernel_file_version $KERNEL_ROOT$k fi done