=================================================================== RCS file: /cvs/openbsd/update_openbsd/update_openbsd,v retrieving revision 1.99 retrieving revision 1.100 diff -u -r1.99 -r1.100 --- openbsd/update_openbsd/update_openbsd 2017/12/11 01:45:45 1.99 +++ openbsd/update_openbsd/update_openbsd 2017/12/11 01:48:08 1.100 @@ -1,5 +1,5 @@ #!/bin/sh -# $AFresh1: update_openbsd,v 1.98 2017/12/11 01:35:44 andrew Exp $ +# $AFresh1: update_openbsd,v 1.99 2017/12/11 01:45:45 andrew Exp $ # # Copyright (c) 2012 Andrew Fresh # @@ -428,7 +428,7 @@ exit 1 fi - mount | grep -q " ${_d%/} .* msdos" && mount_is_msdos=1 + [ $_d != / ] && mount | grep -q " on ${_d%/} .* msdos" && mount_is_msdos=1 if [ X"$BOOT_KERNEL_VERSION" != X"$NEW_KERNEL_VERSION" ]; then echo "===> Backing up $BOOT_KERNEL to ${_d}obsd"