From: tb Date: Wed, 14 Feb 2018 11:43:05 +0000 (+0000) Subject: Localize _f in do_upgrade(). X-Git-Url: http://artulab.com/gitweb/?a=commitdiff_plain;h=af4f942261bdfb1017f41ce5c2d6f06343f714d5;p=openbsd Localize _f in do_upgrade(). ok rpe --- diff --git a/distrib/miniroot/install.sub b/distrib/miniroot/install.sub index 4110cb45a24..ad9b7212e00 100644 --- a/distrib/miniroot/install.sub +++ b/distrib/miniroot/install.sub @@ -1,5 +1,5 @@ #!/bin/ksh -# $OpenBSD: install.sub,v 1.1059 2018/02/10 05:59:06 florian Exp $ +# $OpenBSD: install.sub,v 1.1060 2018/02/14 11:43:05 tb Exp $ # # Copyright (c) 1997-2015 Todd Miller, Theo de Raadt, Ken Westerback # Copyright (c) 2015, Robert Peichaer @@ -3090,6 +3090,8 @@ do_install() { } do_upgrade() { + local _f + # Get $ROOTDISK and $ROOTDEV get_rootinfo