summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPavel Raiskup <praiskup@redhat.com>2015-09-22 16:43:47 +0200
committerPavel Raiskup <praiskup@redhat.com>2015-09-22 18:18:58 +0200
commit31d6d5504c4c26b19bc295e15b5893566826351f (patch)
treef652f37894bf43e95b3c1e30b94c99d3d44860c4
parent7ac3367a45f850af7b3dcd02a23575c4439ee99b (diff)
downloadpostgresql-setup-31d6d5504c4c26b19bc295e15b5893566826351f.zip
postgresql-setup-31d6d5504c4c26b19bc295e15b5893566826351f.tar.gz
postgresql-setup-31d6d5504c4c26b19bc295e15b5893566826351f.tar.xz
postgresql-setup: don't use .service suffix for sysvinit
* postgresql-setup.in: Reuse $srvsuff in error msg.
-rw-r--r--postgresql-setup.in2
1 files changed, 1 insertions, 1 deletions
diff --git a/postgresql-setup.in b/postgresql-setup.in
index a7e6a41..7d5a0eb 100644
--- a/postgresql-setup.in
+++ b/postgresql-setup.in
@@ -715,7 +715,7 @@ elif test -n "$option_pgdata"; then
fi
test "$pgdata" = default \
- && die $"no db datadir (PGDATA) configured for '$option_service.service'"
+ && die $"no db datadir (PGDATA) configured for '$option_service$srvsuff' unit"
[[ "$pgdata" =~ ^/.* ]] \
|| die $"the PostgreSQL datadir not absolute path: '$pgdata', try --debug"