commit e5c2f5941858ecb27d81531fd9b157cb439933c4
Author: mis <[email protected]>
Date:   Thu Feb 6 20:49:31 2025 +0100

    initscript fix: exit with non-zero when not running

 postgresql.init | 1 +
 postgresql.spec | 2 +-
 2 files changed, 2 insertions(+), 1 deletion(-)
---
diff --git a/postgresql.spec b/postgresql.spec
index 84a3735..35c7262 100644
--- a/postgresql.spec
+++ b/postgresql.spec
@@ -34,7 +34,7 @@ Summary(uk.UTF-8):    PostgreSQL - система керування базами 
 Summary(zh_CN.UTF-8):  PostgreSQL 客户端程序和库文件
 Name:          postgresql
 Version:       %{mver}.6
-Release:       1
+Release:       2
 License:       BSD
 Group:         Applications/Databases
 Source0:       
https://ftp.postgresql.org/pub/source/v%{version}/%{name}-%{version}.tar.bz2
diff --git a/postgresql.init b/postgresql.init
index 1b1d143..6aeca49 100644
--- a/postgresql.init
+++ b/postgresql.init
@@ -188,6 +188,7 @@ case "$action" in
                else
                        show "PostgreSQL cluster %s" "$pgdir"
                        progress "$PG_STATUS" "$CFAIL"
+                       RETVAL=3
                fi
                echo
        done
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/postgresql.git/commitdiff/e5c2f5941858ecb27d81531fd9b157cb439933c4

_______________________________________________
pld-cvs-commit mailing list
[email protected]
http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit

Reply via email to