diff --git a/operation/mkraid_wrapper.sh b/operation/mkraid_wrapper.sh index 3c55faa..dd034fa 100755 --- a/operation/mkraid_wrapper.sh +++ b/operation/mkraid_wrapper.sh @@ -17,12 +17,13 @@ # # 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 - fi + $(dirname $0)/mkraid.sh "$line" + ret=$? + if [ $ret -ne 0 ];then + exit $ret + else + echo "@ make raid is success" + fi done