summaryrefslogtreecommitdiff
path: root/contrib/start-scripts
diff options
context:
space:
mode:
authorTom Lane <tgl@sss.pgh.pa.us>2015-04-26 09:43:15 -0400
committerTom Lane <tgl@sss.pgh.pa.us>2015-04-26 09:43:15 -0400
commitf320cbb615e0374b18836337713239da58705cf3 (patch)
tree2899a8c8c330e31ce156928ac8bdc0236e7855b7 /contrib/start-scripts
parent0bd11d9711b88e72d2022e25b9227c480aca4978 (diff)
downloadpostgresql-f320cbb615e0374b18836337713239da58705cf3.tar.gz
Fix typo in linux startup script.
Missed a "$" in what was meant to be a variable substitution. Careless mistake in commit f23425fa950fec3aff458de117037c9caadbc35c.
Diffstat (limited to 'contrib/start-scripts')
-rw-r--r--contrib/start-scripts/linux2
1 files changed, 1 insertions, 1 deletions
diff --git a/contrib/start-scripts/linux b/contrib/start-scripts/linux
index 2dff0094cd..763a8064ab 100644
--- a/contrib/start-scripts/linux
+++ b/contrib/start-scripts/linux
@@ -81,7 +81,7 @@ test -x $DAEMON ||
# If we want to tell child processes to adjust their OOM scores, set up the
# necessary environment variables. Can't just export them through the "su".
-if [ -e "$PG_OOM_ADJUST_FILE" -a -n "PG_CHILD_OOM_SCORE_ADJ" ]
+if [ -e "$PG_OOM_ADJUST_FILE" -a -n "$PG_CHILD_OOM_SCORE_ADJ" ]
then
DAEMON_ENV="PG_OOM_ADJUST_FILE=$PG_OOM_ADJUST_FILE PG_OOM_ADJUST_VALUE=$PG_CHILD_OOM_SCORE_ADJ"
fi