From 67b4a220f4c474b04f74ef18a30168ea51e8dfee Mon Sep 17 00:00:00 2001
From: Alberto Bertogli <albertito@blitiri.com.ar>
Date: Thu, 2 Jul 2009 21:24:56 -0300
Subject: [PATCH 07/25] fiu-ctrl: Prevent unwanted bash parameter expansion

Signed-off-by: Alberto Bertogli <albertito@blitiri.com.ar>
---
 utils/fiu-ctrl |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/utils/fiu-ctrl b/utils/fiu-ctrl
index 130af8f..3683c23 100755
--- a/utils/fiu-ctrl
+++ b/utils/fiu-ctrl
@@ -140,7 +140,7 @@ function send_cmd_fifo() {
 	# echoes the reply
 	P=$1
 	shift 1
-	echo $@ > $P.in
+	echo "$@" > $P.in
 	R="`cat $P.out`"
 	if [ "$R" -eq -1 ]; then
 		echo "$P: Command returned error"
-- 
1.6.2.2.646.gb214

