diff options
author | Theo Buehler <tb@cvs.openbsd.org> | 2018-02-14 11:43:06 +0000 |
---|---|---|
committer | Theo Buehler <tb@cvs.openbsd.org> | 2018-02-14 11:43:06 +0000 |
commit | 076ecc247ab4d3f04f317e67764e58fee9c99f36 (patch) | |
tree | b7b906c627ebf326fd28cd27e46fa6adc298dcf8 /distrib/miniroot | |
parent | e8b328055af95125677e3c869a40859e1ddadcad (diff) |
Localize _f in do_upgrade().
ok rpe
Diffstat (limited to 'distrib/miniroot')
-rw-r--r-- | distrib/miniroot/install.sub | 4 |
1 files changed, 3 insertions, 1 deletions
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 <rpe@openbsd.org> @@ -3090,6 +3090,8 @@ do_install() { } do_upgrade() { + local _f + # Get $ROOTDISK and $ROOTDEV get_rootinfo |