X-Git-Url: https://gerrit.onap.org/r/gitweb?a=blobdiff_plain;f=rulemgt-standalone%2Fsrc%2Fmain%2Fassembly%2Fbin%2FinitDB.sh;h=86a2d8097e8842c1bf1f22a659eaab926d800694;hb=c2a7c78225a54445098d666d72c6e84c21ca70ca;hp=88c202220583e6b8dc3430f40ecb58eb0d16acd6;hpb=680eede1040f09278b8d94a0e43744b843547f47;p=holmes%2Frule-management.git diff --git a/rulemgt-standalone/src/main/assembly/bin/initDB.sh b/rulemgt-standalone/src/main/assembly/bin/initDB.sh index 88c2022..86a2d80 100644 --- a/rulemgt-standalone/src/main/assembly/bin/initDB.sh +++ b/rulemgt-standalone/src/main/assembly/bin/initDB.sh @@ -49,7 +49,7 @@ psql -U "$user" -p "$port" -h "$host" -d "$dbname" -f $main_path/dbscripts/postg psql -U "$user" -p "$port" -h "$host" -d "$dbname" --command 'select * from aplus_rule;' sql_result=$? -if [ "$need_unset"x == "1"x ]; then +if [ "$need_unset"x = "1"x ]; then unset PGPASSWORD fi