diff options
author | Robert Nagy <robert@cvs.openbsd.org> | 2011-07-31 20:18:46 +0000 |
---|---|---|
committer | Robert Nagy <robert@cvs.openbsd.org> | 2011-07-31 20:18:46 +0000 |
commit | bc754282d19eebff3a2a449fcd6402a2d450b48b (patch) | |
tree | 2f569ffb9ceb1c8d2818b15cbf72b67f72b04a28 /etc/rc.d | |
parent | d5bd6875cadb23159f368f903a9124206338cc88 (diff) |
redirect rc_err() output to stderr, from david@
Diffstat (limited to 'etc/rc.d')
-rw-r--r-- | etc/rc.d/rc.subr | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/etc/rc.d/rc.subr b/etc/rc.d/rc.subr index 78a0beb1de3..a400dc5e1e3 100644 --- a/etc/rc.d/rc.subr +++ b/etc/rc.d/rc.subr @@ -1,4 +1,4 @@ -# $OpenBSD: rc.subr,v 1.43 2011/07/23 22:41:44 sthen Exp $ +# $OpenBSD: rc.subr,v 1.44 2011/07/31 20:18:45 robert Exp $ # # Copyright (c) 2010, 2011 Antoine Jacoutot <ajacoutot@openbsd.org> # Copyright (c) 2010, 2011 Ingo Schwarze <schwarze@openbsd.org> @@ -20,7 +20,7 @@ # Default functions and variables used by rc.d(8) scripts. rc_err() { - echo $1 + echo $1 1>&2 exit 1 } |