summaryrefslogtreecommitdiff
path: root/distrib/miniroot
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>2009-04-23 21:44:28 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>2009-04-23 21:44:28 +0000
commitd6ce499a0a41bd84ec98666780661519720e8eed (patch)
tree590da452f84cac1b6e1f8342d0b7c0d465c7fe80 /distrib/miniroot
parent082f9c74d0f6286abd61ff6ac2d1eaa106472703 (diff)
simplify mount -v sed; from guenther
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 928bec89bee..9e17fea9eaa 100644
--- a/distrib/miniroot/install.sub
+++ b/distrib/miniroot/install.sub
@@ -1,4 +1,4 @@
-# $OpenBSD: install.sub,v 1.469 2009/04/23 21:02:15 deraadt Exp $
+# $OpenBSD: install.sub,v 1.470 2009/04/23 21:44:27 deraadt Exp $
# $NetBSD: install.sub,v 1.5.2.8 1996/09/02 23:25:02 pk Exp $
#
# Copyright (c) 1997-2007 Todd Miller, Theo de Raadt, Ken Westerback
@@ -1467,7 +1467,7 @@ mount_fs() {
# Mount the filesystem. If the mount fails, exit.
_msg=$(mount -v -t $_fstype $_async -o $_opt $_dev $_mp)
_err=$?
- echo $_msg | sed -e 's/, ctime=[^,(]*\([,)]\)/\1/'
+ echo $_msg | sed -e 's/, ctime=[^,(]*//'
if ! $_e ; then
# In addition to the error message displayed by mount ...
cat <<__EOT