=================================================================== RCS file: /cvs/openbsd/fw_update/fw_install.sh,v retrieving revision 1.52 retrieving revision 1.53 diff -u -r1.52 -r1.53 --- openbsd/fw_update/fw_install.sh 2021/12/07 03:09:17 1.52 +++ openbsd/fw_update/fw_install.sh 2021/12/07 04:23:00 1.53 @@ -1,5 +1,5 @@ #!/bin/ksh -# $OpenBSD: fw_install.sh,v 1.52 2021/12/07 03:09:17 afresh1 Exp $ +# $OpenBSD: fw_install.sh,v 1.53 2021/12/07 04:23:00 afresh1 Exp $ # # Copyright (c) 2021 Andrew Hewus Fresh # @@ -56,7 +56,7 @@ # If we're not in the installer, we have su(1) # and doas(1) is unlikely to be configured. - if [ -x /usr/bin/sh ]; then + if [ -x /usr/bin/su ]; then /usr/bin/su -s /bin/ksh "$_user" -c \ "/usr/bin/ftp -D 'Get/Verify' -Vm \ -o '$_file' '${FWURL}/${_file}'"