Commit 14439931 authored by 智勇's avatar 智勇

up

parent a893b26c
...@@ -24,6 +24,6 @@ do ...@@ -24,6 +24,6 @@ do
mysql -h $mysql_host -P $target_db_port -uqa -pqatest $database_name < $entry mysql -h $mysql_host -P $target_db_port -uqa -pqatest $database_name < $entry
if [ $? != 0 ];then if [ $? != 0 ];then
echo "--- mysql -h $mysql_host -P $target_db_port -uqa -pqatest $database_name < $entry import error ---" echo "--- mysql -h $mysql_host -P $target_db_port -uqa -pqatest $database_name < $entry import error ---"
exit -1 # exit -1
fi fi
done done
...@@ -5,7 +5,7 @@ echo --- ...@@ -5,7 +5,7 @@ echo ---
function grep_key_word() function grep_key_word()
{ {
grep -B $2 "$1" log grep -$2 "$1" log
if [ $? = 0 ];then if [ $? = 0 ];then
echo --- echo ---
exit -1 exit -1
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment