summaryrefslogtreecommitdiffstats
path: root/pki/patches/pki-core-9.0.3-r1862.patch
blob: 37ec3fd4ace34b09a95989821003d8fb13c3696e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
Index: base/common/scripts/functions
===================================================================
--- base/common/scripts/functions	(revision 1861)
+++ base/common/scripts/functions	(revision 1862)
@@ -694,6 +694,10 @@
     $PKI_INSTANCE_INITSCRIPT start
     rv=$?
 
+    if [ $rv -ne 0 ] ; then
+        return $rv
+    fi
+
     # On Tomcat subsystems, make certain that the service has started
     case $PKI_SUBSYSTEM_TYPE in
         ca|kra|ocsp|tks)
@@ -710,6 +714,9 @@
                 sleep 1
                 let count=$count+1;
             done
+            if [ $netrv -ne 0 ] ; then
+                return 1
+            fi
             ;;
     esac