Author: sparky Date: Mon Oct 30 15:41:27 2006 GMT
Module: SOURCES Tag: HEAD
---- Log message:
- fix status checking on system with non-english locale, thx to JĂŠrĂ´me AugĂŠ
<jerome.auge at cesamnet.fr>
---- Files affected:
SOURCES:
postgresql.init (1.69 -> 1.70)
---- Diffs:
================================================================
Index: SOURCES/postgresql.init
diff -u SOURCES/postgresql.init:1.69 SOURCES/postgresql.init:1.70
--- SOURCES/postgresql.init:1.69 Fri Oct 6 12:52:18 2006
+++ SOURCES/postgresql.init Mon Oct 30 16:41:22 2006
@@ -71,7 +71,7 @@
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
================================================================
---- CVS-web:
http://cvs.pld-linux.org/SOURCES/postgresql.init?r1=1.69&r2=1.70&f=u
_______________________________________________
pld-cvs-commit mailing list
[email protected]
http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit