modified: mkraid_wrapper.sh

add success information
This commit is contained in:
fling
2010-09-30 09:45:34 +08:00
parent 19b32bca43
commit ef4a024ab3

View File

@@ -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