From 3b06380300ff078f5e7134326accf84503282e37 Mon Sep 17 00:00:00 2001 From: kn Date: Wed, 18 Jan 2023 10:30:20 +0000 Subject: [PATCH] Typofix array length syntax, spotted by afresh1 --- distrib/miniroot/install.sub | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/distrib/miniroot/install.sub b/distrib/miniroot/install.sub index 92b3569c118..857b9f188d8 100644 --- a/distrib/miniroot/install.sub +++ b/distrib/miniroot/install.sub @@ -1,5 +1,5 @@ #!/bin/ksh -# $OpenBSD: install.sub,v 1.1221 2023/01/17 16:22:56 kn Exp $ +# $OpenBSD: install.sub,v 1.1222 2023/01/18 10:30:20 kn Exp $ # # Copyright (c) 1997-2015 Todd Miller, Theo de Raadt, Ken Westerback # Copyright (c) 2015, Robert Peichaer @@ -1324,7 +1324,7 @@ configure_ifs() { # Skip all interface configuration questions if there is no # physical interface to begin with. - ((${_ifs[*]} == 0)) && break + ((${#_ifs[*]} == 0)) && break # Discover last configured vlan interface and increment its # minor for the next offered vlan interface. -- 2.20.1