summaryrefslogtreecommitdiff
path: root/distrib/miniroot
diff options
context:
space:
mode:
authorRobert Peichaer <rpe@cvs.openbsd.org>2013-11-09 19:39:00 +0000
committerRobert Peichaer <rpe@cvs.openbsd.org>2013-11-09 19:39:00 +0000
commit30e8de2a24600335cf4d84374b756b050f1075a5 (patch)
tree984bdd27fe9f0d68850eb58c7a6213011c6e6dfe /distrib/miniroot
parent92a2665005af3f2726e02029ca7c0012ad303170 (diff)
Abort automatic installation if no sets are found in install_files().
ok krw@ halex@
Diffstat (limited to 'distrib/miniroot')
-rw-r--r--distrib/miniroot/install.sub3
1 files changed, 2 insertions, 1 deletions
diff --git a/distrib/miniroot/install.sub b/distrib/miniroot/install.sub
index c164d280c65..68599419d55 100644
--- a/distrib/miniroot/install.sub
+++ b/distrib/miniroot/install.sub
@@ -1,4 +1,4 @@
-# $OpenBSD: install.sub,v 1.689 2013/11/09 19:32:55 rpe Exp $
+# $OpenBSD: install.sub,v 1.690 2013/11/09 19:38:59 rpe Exp $
# $NetBSD: install.sub,v 1.5.2.8 1996/09/02 23:25:02 pk Exp $
#
# Copyright (c) 1997-2009 Todd Miller, Theo de Raadt, Ken Westerback
@@ -1145,6 +1145,7 @@ install_files() {
for _n in $THESETS; do echo $_n; done | showcols | sed 's/^/ /'
COLUMNS=$_col
+ $auto && exit 1
echo
return
fi