From 23da15d37d99e11e11be562a20356cb7668e5b4d Mon Sep 17 00:00:00 2001 From: Sascha Wildner Date: Sat, 6 Oct 2007 17:31:21 +0000 Subject: [PATCH] Fix the 'unexpected operator' error rclist gave every time it was executed with more than one argument. --- sbin/rcrun/rcrun.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/sbin/rcrun/rcrun.sh b/sbin/rcrun/rcrun.sh index fa769cd5ea..dfabc74a58 100644 --- a/sbin/rcrun/rcrun.sh +++ b/sbin/rcrun/rcrun.sh @@ -2,7 +2,7 @@ # # rcng command # -# $DragonFly: src/sbin/rcrun/rcrun.sh,v 1.7 2007/10/05 23:55:47 swildner Exp $ +# $DragonFly: src/sbin/rcrun/rcrun.sh,v 1.8 2007/10/06 17:31:21 swildner Exp $ dostart() { @@ -167,7 +167,7 @@ rcvar) done ;; list) - if [ X$@ = X ]; then + if [ "X$*" = X ]; then for i in `varsym -a -s | egrep '^rcng_'`; do echo $i done -- 2.41.0