summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKenneth R Westerback <krw@cvs.openbsd.org>2010-08-02 11:21:36 +0000
committerKenneth R Westerback <krw@cvs.openbsd.org>2010-08-02 11:21:36 +0000
commit91c4ffd1f61ee7efa89d4b411e6e9f64d5dee078 (patch)
treed2b403fecbd5315fab851b60f0994a455685f8ec
parent3a37584d93867960c46af05e85f5946a7bd80913 (diff)
Suppress MAKEDEV warnings about 'unknown device' that can appear
during upgrades when /etc/fstab is using disklabel UID's to mount partitions. Feedback & trash elimination from halex@ "That seems acceptable to me" deraadt@
-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 b5f9faf6230..dc8793696f3 100644
--- a/distrib/miniroot/install.sub
+++ b/distrib/miniroot/install.sub
@@ -1,4 +1,4 @@
-# $OpenBSD: install.sub,v 1.613 2010/07/07 07:15:00 halex Exp $
+# $OpenBSD: install.sub,v 1.614 2010/08/02 11:21:35 krw 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
@@ -494,7 +494,7 @@ makedev() {
return 1
fi
- (cd /dev ; sh MAKEDEV $_dev || return 1 ; cd - >/dev/null)
+ (cd /dev && sh MAKEDEV $_dev) >/dev/null 2>&1
}
# Create an entry in the hosts file. If an entry with the