summaryrefslogtreecommitdiff
path: root/system/postgresql/rc.postgresql.new
diff options
context:
space:
mode:
authorAdis Nezirovic <adis_at_linux.org.ba>2010-05-11 22:27:00 +0200
committerDavid Somero <xgizzmo@slackbuilds.org>2010-05-11 22:27:00 +0200
commit99e62536447ecb3c2c89631437848c42ec0f5b93 (patch)
treee9ba6886a68a04db0f68621ea6f0735a36794bf0 /system/postgresql/rc.postgresql.new
parent65739ea69c3643507c111655bce1ce3f98dc0f45 (diff)
downloadslackbuilds-99e62536447ecb3c2c89631437848c42ec0f5b93.tar.gz
system/postgresql: Updated for version 8.3.5
Diffstat (limited to 'system/postgresql/rc.postgresql.new')
-rw-r--r--system/postgresql/rc.postgresql.new4
1 files changed, 2 insertions, 2 deletions
diff --git a/system/postgresql/rc.postgresql.new b/system/postgresql/rc.postgresql.new
index 329b7b092d..347fe28019 100644
--- a/system/postgresql/rc.postgresql.new
+++ b/system/postgresql/rc.postgresql.new
@@ -52,7 +52,7 @@ case "$1" in
exit 6
fi
- if [ `pgrep -f $POSTGRES` ]; then
+ if [ $(pgrep -f $POSTGRES) ]; then
echo "PostgreSQL daemon already running"
if [ ! -f $DATADIR/$PIDFILE ]; then
@@ -92,7 +92,7 @@ case "$1" in
;;
"status")
- if [ `pgrep -f $POSTGRES` ]; then
+ if [ $(pgrep -f $POSTGRES) ]; then
echo "PostgreSQL is running"
if [ ! -e $DATADIR/$PIDFILE ]; then