aboutsummaryrefslogtreecommitdiffstats
path: root/resources/bin
diff options
context:
space:
mode:
authoryangyan <yangyanyj@chinamobile.com>2019-04-03 10:55:35 +0800
committerYan Yang <yangyanyj@chinamobile.com>2019-04-03 03:52:42 +0000
commit6e702cc6d82cfcaf79735ec2840cf294458bbb92 (patch)
tree0fd04ed455838b931911cde35b84882d72974e84 /resources/bin
parentbeedfac1cf7e7c0ad5d127dcdd32b779a214c950 (diff)
fix database bug
Change-Id: Id4c1149ee3d1d348abe02cd92324499e4158201b Issue-ID: VFC-1334 Signed-off-by: yangyan <yangyanyj@chinamobile.com>
Diffstat (limited to 'resources/bin')
-rw-r--r--resources/bin/initDB.sh6
1 files changed, 3 insertions, 3 deletions
diff --git a/resources/bin/initDB.sh b/resources/bin/initDB.sh
index 01bb1561..7c0fa02a 100644
--- a/resources/bin/initDB.sh
+++ b/resources/bin/initDB.sh
@@ -26,10 +26,10 @@ sql_path=$HOME/../
mysql -u$MYSQL_USER -p$MYSQL_PASSWORD -P$MYSQL_PORT -h$MYSQL_IP <$sql_path/dbscripts/mysql/vfc-nfvo-lcm-createdb.sql
sql_result=$?
if [ $sql_result -ne 0 ] ; then
- echo "failed to create vfcnfvolcm database"
+ echo "Failed to create vfcnfvolcm database"
exit 1
-elif [ $sql_result -eq 0 ]; then
- echo "create vfcnfvolcm database successfully"
+else
+ echo "Create vfcnfvolcm database successfully"
exit 0
fi