summaryrefslogtreecommitdiff
path: root/distrib/miniroot
diff options
context:
space:
mode:
authorKlemens Nanni <kn@cvs.openbsd.org>2023-04-17 13:59:17 +0000
committerKlemens Nanni <kn@cvs.openbsd.org>2023-04-17 13:59:17 +0000
commitd12a263a4c540edc90422bf35c85525fdd497c40 (patch)
treea9600ea98a64fc1db7875988c6c815019d2c6ffe /distrib/miniroot
parentdd963d07fa450e9e52618f052ca5c95f67236975 (diff)
Indent interface and disk listings
'?' output to list available answers could better distuingish from questions and other lines, like sets selection does with four leading spaces. OK deraadt
Diffstat (limited to 'distrib/miniroot')
-rw-r--r--distrib/miniroot/install.sub6
1 files changed, 3 insertions, 3 deletions
diff --git a/distrib/miniroot/install.sub b/distrib/miniroot/install.sub
index af1457a9d9f..1291015445f 100644
--- a/distrib/miniroot/install.sub
+++ b/distrib/miniroot/install.sub
@@ -1,5 +1,5 @@
#!/bin/ksh
-# $OpenBSD: install.sub,v 1.1241 2023/04/07 13:48:42 kn Exp $
+# $OpenBSD: install.sub,v 1.1242 2023/04/17 13:59:16 kn Exp $
#
# Copyright (c) 1997-2015 Todd Miller, Theo de Raadt, Ken Westerback
# Copyright (c) 2015, Robert Peichaer <rpe@openbsd.org>
@@ -281,7 +281,7 @@ diskinfo() {
_s=$(disklabel -dpg $_d 2>/dev/null | sed -n '/.*# total bytes: \(.*\)/{s//(\1)/p;}')
rm -f /dev/{r,}$_d?
- echo "$_d: $_i $_n $_s"
+ echo " $_d: $_i $_n $_s"
done
}
@@ -1354,7 +1354,7 @@ configure_ifs() {
if [[ $resp == '?' ]]; then
for _if in "${_ifs[@]}"; do
_lladdr=$(if_name_to_lladdr $_if)
- [[ -n $_lladdr ]] && echo " $_if: lladdr $_lladdr"
+ [[ -n $_lladdr ]] && echo " $_if: lladdr $_lladdr"
done
fi