artulab
projects
/
openbsd
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
eee9b6f
)
Put _rc_err argument under quotes to respect the syntax we are passing.
author
ajacoutot
<ajacoutot@openbsd.org>
Mon, 25 Aug 2014 07:34:12 +0000
(07:34 +0000)
committer
ajacoutot
<ajacoutot@openbsd.org>
Mon, 25 Aug 2014 07:34:12 +0000
(07:34 +0000)
etc/rc.d/rc.subr
patch
|
blob
|
history
diff --git
a/etc/rc.d/rc.subr
b/etc/rc.d/rc.subr
index
fc6491b
..
696f22e
100644
(file)
--- a/
etc/rc.d/rc.subr
+++ b/
etc/rc.d/rc.subr
@@
-1,4
+1,4
@@
-# $OpenBSD: rc.subr,v 1.8
7 2014/08/24 17:15:24
ajacoutot Exp $
+# $OpenBSD: rc.subr,v 1.8
8 2014/08/25 07:34:12
ajacoutot Exp $
#
# Copyright (c) 2010, 2011, 2014 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
1>&2
+ echo
"$1"
1>&2
exit 1
}