Browse Source

redirect rc_err() output to stderr, from david@

OPENBSD_5_0
robert 13 years ago
parent
commit
23647f1532
1 changed files with 2 additions and 2 deletions
  1. +2
    -2
      src/etc/rc.d/rc.subr

+ 2
- 2
src/etc/rc.d/rc.subr View File

@ -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 Antoine Jacoutot <ajacoutot@openbsd.org>
# Copyright (c) 2010, 2011 Ingo Schwarze <schwarze@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. # Default functions and variables used by rc.d(8) scripts.
rc_err() { rc_err() {
echo $1
echo $1 1>&2
exit 1 exit 1
} }


Loading…
Cancel
Save