Fix typo in linux startup script.
authorTom Lane <tgl@sss.pgh.pa.us>
Sun, 26 Apr 2015 13:43:15 +0000 (09:43 -0400)
committerTom Lane <tgl@sss.pgh.pa.us>
Sun, 26 Apr 2015 13:43:15 +0000 (09:43 -0400)
Missed a "$" in what was meant to be a variable substitution.  Careless
mistake in commit f23425fa950fec3aff458de117037c9caadbc35c.

contrib/start-scripts/linux

index 2dff0094cd3fa84f39a9155949cca78bca92726d..763a8064abb9fcee866e350142f32aa5fbfcb6c1 100644 (file)
@@ -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