diff options
author | Adis Nezirovic <adis_at_linux.org.ba> | 2010-05-11 22:27:00 +0200 |
---|---|---|
committer | David Somero <xgizzmo@slackbuilds.org> | 2010-05-11 22:27:00 +0200 |
commit | 99e62536447ecb3c2c89631437848c42ec0f5b93 (patch) | |
tree | e9ba6886a68a04db0f68621ea6f0735a36794bf0 /system/postgresql/rc.postgresql.new | |
parent | 65739ea69c3643507c111655bce1ce3f98dc0f45 (diff) |
system/postgresql: Updated for version 8.3.5
Diffstat (limited to 'system/postgresql/rc.postgresql.new')
-rw-r--r-- | system/postgresql/rc.postgresql.new | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/system/postgresql/rc.postgresql.new b/system/postgresql/rc.postgresql.new index 329b7b092d18..347fe2801954 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 |