mirror of
https://github.com/wassname/docker-postgresql.git
synced 2026-08-07 11:21:38 +08:00
added DEBUG option to enable bash debugging
This commit is contained in:
@@ -2,6 +2,8 @@
|
||||
set -e
|
||||
source ${PG_APP_HOME}/functions
|
||||
|
||||
[[ ${DEBUG} == true ]] && set -x
|
||||
|
||||
# allow arguments to be passed to postgres
|
||||
if [[ ${1:0:1} = '-' ]]; then
|
||||
EXTRA_ARGS="$@"
|
||||
|
||||
Reference in New Issue
Block a user