From: ajacoutot Date: Mon, 25 Aug 2014 07:34:12 +0000 (+0000) Subject: Put _rc_err argument under quotes to respect the syntax we are passing. X-Git-Url: http://artulab.com/gitweb/?a=commitdiff_plain;h=65849124d06616184228712d372d79a14be8620e;p=openbsd Put _rc_err argument under quotes to respect the syntax we are passing. --- 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 # Copyright (c) 2010, 2011 Ingo Schwarze @@ -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 }