mirror of
https://github.com/postgres/postgres.git
synced 2025-06-13 07:41:39 +03:00
Fix typo in linux startup script.
Missed a "$" in what was meant to be a variable substitution. Careless
mistake in commit f23425fa95
.
This commit is contained in:
@ -81,7 +81,7 @@ test -x $DAEMON ||
|
|||||||
|
|
||||||
# If we want to tell child processes to adjust their OOM scores, set up the
|
# 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".
|
# 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
|
then
|
||||||
DAEMON_ENV="PG_OOM_ADJUST_FILE=$PG_OOM_ADJUST_FILE PG_OOM_ADJUST_VALUE=$PG_CHILD_OOM_SCORE_ADJ"
|
DAEMON_ENV="PG_OOM_ADJUST_FILE=$PG_OOM_ADJUST_FILE PG_OOM_ADJUST_VALUE=$PG_CHILD_OOM_SCORE_ADJ"
|
||||||
fi
|
fi
|
||||||
|
Reference in New Issue
Block a user