Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/etc The previous change made "nooutput -2" discard both stdo...
details: https://anonhg.NetBSD.org/src/rev/a516ce3c7d51
branches: trunk
changeset: 771092:a516ce3c7d51
user: apb <apb%NetBSD.org@localhost>
date: Tue Nov 08 19:36:30 2011 +0000
description:
The previous change made "nooutput -2" discard both stdout and
stderr, whereas it should discard only stderr. This commit
should fix that problem.
diffstat:
etc/MAKEDEV.tmpl | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diffs (19 lines):
diff -r b0097aa83f8c -r a516ce3c7d51 etc/MAKEDEV.tmpl
--- a/etc/MAKEDEV.tmpl Tue Nov 08 19:25:45 2011 +0000
+++ b/etc/MAKEDEV.tmpl Tue Nov 08 19:36:30 2011 +0000
@@ -1,5 +1,5 @@
#!/bin/sh -
-# $NetBSD: MAKEDEV.tmpl,v 1.146 2011/11/08 19:11:19 apb Exp $
+# $NetBSD: MAKEDEV.tmpl,v 1.147 2011/11/08 19:36:30 apb Exp $
#
# Copyright (c) 2003,2007,2008 The NetBSD Foundation, Inc.
# All rights reserved.
@@ -382,7 +382,7 @@
local junk
case "$flags" in
"-1") junk="$( "$@" )" ;;
- "-2") junk="$( exec 4>&1 ; { "$@" ; } 2>&1 1>&4 )" ;;
+ "-2") ( exec 4>&1 ; junk="$( { "$@" ; } 2>&1 1>&4 )" ) ;;
"-12") junk="$( { "$@" ; } 2>&1 )" ;;
*) warn "Incorrect use of nooutput" ;;
esac
Home |
Main Index |
Thread Index |
Old Index