summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorajacoutot <ajacoutot@openbsd.org>2014-08-25 07:34:12 +0000
committerajacoutot <ajacoutot@openbsd.org>2014-08-25 07:34:12 +0000
commit65849124d06616184228712d372d79a14be8620e (patch)
treea827c957368461ca3f035d75d33392370bd90077
parentStart removing unused documentation and the server and related binaries source (diff)
downloadwireguard-openbsd-65849124d06616184228712d372d79a14be8620e.tar.xz
wireguard-openbsd-65849124d06616184228712d372d79a14be8620e.zip
Put _rc_err argument under quotes to respect the syntax we are passing.
-rw-r--r--etc/rc.d/rc.subr4
1 files changed, 2 insertions, 2 deletions
diff --git a/etc/rc.d/rc.subr b/etc/rc.d/rc.subr
index fc6491bf9d8..696f22ecc00 100644
--- a/etc/rc.d/rc.subr
+++ b/etc/rc.d/rc.subr
@@ -1,4 +1,4 @@
-# $OpenBSD: rc.subr,v 1.87 2014/08/24 17:15:24 ajacoutot Exp $
+# $OpenBSD: rc.subr,v 1.88 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
}