summaryrefslogtreecommitdiff
path: root/distrib
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>2015-03-13 15:02:15 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>2015-03-13 15:02:15 +0000
commit0c92ea8d96454dee0559766296ee184295ebb4c4 (patch)
tree3cea550bf4dc486846e49022c42dc2537dc403e1 /distrib
parent800c8e070433f24ef8038e934296be8287ba25c5 (diff)
chroot is now inside instbin, so do not need to run the copy in /mnt
ok rpe
Diffstat (limited to 'distrib')
-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 e9a37c2b554..71007ef2185 100644
--- a/distrib/miniroot/install.sub
+++ b/distrib/miniroot/install.sub
@@ -1,4 +1,4 @@
-# $OpenBSD: install.sub,v 1.816 2015/03/11 21:00:35 krw Exp $
+# $OpenBSD: install.sub,v 1.817 2015/03/13 15:02:14 deraadt Exp $
#
# Copyright (c) 1997-2015 Todd Miller, Theo de Raadt, Ken Westerback
# All rights reserved.
@@ -1956,7 +1956,7 @@ finish_up() {
# dynamic. That is highly discouraged, but let us play it safe.
rm -f /mnt/var/run/ld.so.hints
- [[ -x /mnt/$MODE.site ]] && /mnt/usr/sbin/chroot /mnt /$MODE.site
+ [[ -x /mnt/$MODE.site ]] && chroot /mnt /$MODE.site
# In case this is a softraid device, make sure all underlying
# device nodes exist.