From 076ecc247ab4d3f04f317e67764e58fee9c99f36 Mon Sep 17 00:00:00 2001 From: Theo Buehler Date: Wed, 14 Feb 2018 11:43:06 +0000 Subject: Localize _f in do_upgrade(). ok rpe --- distrib/miniroot/install.sub | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'distrib/miniroot') 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 -- cgit v1.2.3