]> git.pld-linux.org Git - packages/postgresql.git/commitdiff
- fix status checking on system with non-english locale, thx to Jérôme Augé <jerome...
authorsparky <sparky@pld-linux.org>
Mon, 30 Oct 2006 15:41:22 +0000 (15:41 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    postgresql.init -> 1.70

postgresql.init

index 2f8293eb3ba5c6cb49af0f4b253e48a60963dd72..3aa428b0c5a27d06671a53e8b1a29ab3fb04049b 100644 (file)
@@ -71,7 +71,7 @@ fi
 pgstatus() {
        PG_STATUS="unknown"
        PG_PID="unknown"
-       output=`TMPDIR=/tmp su postgres -c "/usr/bin/pg_ctl -D $1 status"`
+       output=`LC_ALL=C TMPDIR=/tmp su postgres -c "/usr/bin/pg_ctl -D $1 status"`
        status=`echo $?`
 
        if [ $status -eq 1 ]; then
This page took 0.111877 seconds and 4 git commands to generate.