diff options
author | Antoine Jacoutot <ajacoutot@cvs.openbsd.org> | 2014-08-25 07:34:13 +0000 |
---|---|---|
committer | Antoine Jacoutot <ajacoutot@cvs.openbsd.org> | 2014-08-25 07:34:13 +0000 |
commit | ce4155f78361884208e4f3e3e48d8234787445e1 (patch) | |
tree | 26417306d15906c2ce9f4298d51dd3b082aaea0f /etc/rc.d | |
parent | 1508da3fb773e0bcfe24d213c14dcad7c602f3f1 (diff) |
Put _rc_err argument under quotes to respect the syntax we are passing.
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 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 } |