summaryrefslogtreecommitdiffstats
path: root/pki/base/ocsp/shared
diff options
context:
space:
mode:
authormharmsen <mharmsen@c9f7a03b-bd48-0410-a16d-cbbf54688b0b>2009-08-26 17:49:47 +0000
committermharmsen <mharmsen@c9f7a03b-bd48-0410-a16d-cbbf54688b0b>2009-08-26 17:49:47 +0000
commit4761236c85775827c05b66180e917cc143cdbeb2 (patch)
tree96c34b39a2326bda9f3415263d414bc488a4147c /pki/base/ocsp/shared
parent41831ca2923c78a41c75ce573b11b7ca8b94692c (diff)
downloadpki-4761236c85775827c05b66180e917cc143cdbeb2.tar.gz
pki-4761236c85775827c05b66180e917cc143cdbeb2.tar.xz
pki-4761236c85775827c05b66180e917cc143cdbeb2.zip
Bugzilla Bug #519259 - Change "[ -x /etc/init.d/functions]" to
"[ -f /etc/init.d/functions]" . . . git-svn-id: svn+ssh://svn.fedorahosted.org/svn/pki/trunk@781 c9f7a03b-bd48-0410-a16d-cbbf54688b0b
Diffstat (limited to 'pki/base/ocsp/shared')
-rwxr-xr-xpki/base/ocsp/shared/etc/init.d/httpd12
1 files changed, 6 insertions, 6 deletions
diff --git a/pki/base/ocsp/shared/etc/init.d/httpd b/pki/base/ocsp/shared/etc/init.d/httpd
index 17196c91d..c01e729b2 100755
--- a/pki/base/ocsp/shared/etc/init.d/httpd
+++ b/pki/base/ocsp/shared/etc/init.d/httpd
@@ -109,7 +109,7 @@ else
fi
# Source function library.
-if [ -x /etc/init.d/functions ]; then
+if [ -f /etc/init.d/functions ]; then
. /etc/init.d/functions
else
# The checkpid() function is provided for platforms that do not
@@ -551,7 +551,7 @@ start()
if checkpid $kpid 2>&1; then
echo
echo "process already running"
- return -1
+ return 255
else
echo
echo -n "lock file found but no process "
@@ -1077,7 +1077,7 @@ start()
let count=$count+1;
done
- if [ -x /etc/init.d/functions ]; then
+ if [ -f /etc/init.d/functions ]; then
if [ "$CONSOLETYPE" = "serial" ]; then
echo -n " "
fi
@@ -1095,7 +1095,7 @@ start()
echo
status
else
- if [ -x /etc/init.d/functions ]; then
+ if [ -f /etc/init.d/functions ]; then
if [ "$CONSOLETYPE" = "serial" ]; then
echo -n " "
fi
@@ -1150,7 +1150,7 @@ stop()
rm -f ${lockfile}
rm -f ${pidfile}
- if [ -x /etc/init.d/functions ]; then
+ if [ -f /etc/init.d/functions ]; then
if [ "$CONSOLETYPE" = "serial" ]; then
echo -n " "
fi
@@ -1160,7 +1160,7 @@ stop()
echo " [ OK ]"
fi
else
- if [ -x /etc/init.d/functions ]; then
+ if [ -f /etc/init.d/functions ]; then
if [ "$CONSOLETYPE" = "serial" ]; then
echo -n " "
fi