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