Code Review
/
holmes
/
engine-management.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
| inline |
side by side
bugfix - accessibility of RESTful APIs
[holmes/engine-management.git]
/
engine-d-standalone
/
src
/
main
/
assembly
/
bin
/
initDB.sh
diff --git
a/engine-d-standalone/src/main/assembly/bin/initDB.sh
b/engine-d-standalone/src/main/assembly/bin/initDB.sh
index
cc27b09
..
dac6878
100644
(file)
--- a/
engine-d-standalone/src/main/assembly/bin/initDB.sh
+++ b/
engine-d-standalone/src/main/assembly/bin/initDB.sh
@@
-51,7
+51,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 alarm_info;'
sql_result=$?
-if [
$need_unset = 1
]; then
+if [
"$need_unset"x = "1"x
]; then
unset PGPASSWORD
fi