From a90555da07eb3be1ba73ee424d8eaf482cfc1f38 Mon Sep 17 00:00:00 2001 From: fling Date: Thu, 30 Sep 2010 09:50:12 +0800 Subject: [PATCH] aend --- operation/mkraid_wrapper.sh | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/operation/mkraid_wrapper.sh b/operation/mkraid_wrapper.sh index dd034fa..78aa353 100755 --- a/operation/mkraid_wrapper.sh +++ b/operation/mkraid_wrapper.sh @@ -19,11 +19,11 @@ # This file is a wrapper to mkraid.sh. while read line do - $(dirname $0)/mkraid.sh "$line" - ret=$? - if [ $ret -ne 0 ];then - exit $ret + $(dirname $0)/mkraid.sh "$line" + ret=$? + if [ $ret -ne 0 ];then + exit $ret else echo "@ make raid is success" - fi + fi done