summaryrefslogtreecommitdiff
path: root/distrib/miniroot
diff options
context:
space:
mode:
authorKlemens Nanni <kn@cvs.openbsd.org>2023-01-18 10:30:21 +0000
committerKlemens Nanni <kn@cvs.openbsd.org>2023-01-18 10:30:21 +0000
commite59d214c6e89804009ce326ae4a4a73e8648772c (patch)
treea1f7f32f070a4723396fa58455cb67c843d9d79c /distrib/miniroot
parent2d518efbe7d05e7089920afb8aec8f416382b5b5 (diff)
Typofix array length syntax, spotted by afresh1
Diffstat (limited to 'distrib/miniroot')
-rw-r--r--distrib/miniroot/install.sub4
1 files 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 <rpe@openbsd.org>
@@ -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.