Login
[x]
Log in using an account from:
Fedora Account System
Red Hat Associate
Red Hat Customer
Or login using a Red Hat Bugzilla account
Forgot Password
Login:
Hide Forgot
Create an Account
Red Hat Bugzilla – Attachment 873186 Details for
Bug 1075142
Stop returns wrong error code
[?]
New
Simple Search
Advanced Search
My Links
Browse
Requests
Reports
Current State
Search
Tabular reports
Graphical reports
Duplicates
Other Reports
User Changes
Plotly Reports
Bug Status
Bug Severity
Non-Defaults
|
Product Dashboard
Help
Page Help!
Bug Writing Guidelines
What's new
Browser Support Policy
5.0.4.rh83 Release notes
FAQ
Guides index
User guide
Web Services
Contact
Legal
This site requires JavaScript to be enabled to function correctly, please enable it.
[patch]
Patch to fix the return value for stopping the process (right version)
0001-Fix-stop-script-return-value.patch (text/plain), 1.43 KB, created by
Sebastian Dyroff
on 2014-03-11 15:00:17 UTC
(
hide
)
Description:
Patch to fix the return value for stopping the process (right version)
Filename:
MIME Type:
Creator:
Sebastian Dyroff
Created:
2014-03-11 15:00:17 UTC
Size:
1.43 KB
patch
obsolete
>From 4e43a122d7617435a97b902efcbd0f4c29f6adf0 Mon Sep 17 00:00:00 2001 >From: Sebastian Dyroff <sdyroff@fedoraproject.org> >Date: Tue, 11 Mar 2014 15:57:23 +0100 >Subject: [PATCH] Fix stop script return value > >--- > spawn-fcgi.init | 2 +- > spawn-fcgi.spec | 5 ++++- > 2 files changed, 5 insertions(+), 2 deletions(-) > >diff --git a/spawn-fcgi.init b/spawn-fcgi.init >index 43a9cd1..2358734 100644 >--- a/spawn-fcgi.init >+++ b/spawn-fcgi.init >@@ -44,9 +44,9 @@ start() { > stop() { > echo -n $"Stopping $prog: " > killproc $prog >+ retval=$? > # Remove the socket in order to never leave it with wrong ownership > [ -n "${SOCKET}" -a -S "${SOCKET}" ] && rm -f ${SOCKET} >- retval=$? > echo > [ $retval -eq 0 ] && rm -f $lockfile > return $retval >diff --git a/spawn-fcgi.spec b/spawn-fcgi.spec >index 8f23786..9e66c52 100644 >--- a/spawn-fcgi.spec >+++ b/spawn-fcgi.spec >@@ -1,7 +1,7 @@ > Summary: Simple program for spawning FastCGI processes > Name: spawn-fcgi > Version: 1.6.3 >-Release: 6%{?dist} >+Release: 7%{?dist} > License: BSD > Group: System Environment/Daemons > URL: http://redmine.lighttpd.net/projects/spawn-fcgi/ >@@ -60,6 +60,9 @@ fi > > > %changelog >+* Tue Mar 11 2014 Sebastian Dyroff <sdyroff@fedoraproject.org> - 1.6.3-7 >+- Fix return value of initscript stop command >+ > * Sun Aug 04 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.6.3-6 > - Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild > >-- >1.8.5.3 >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 1075142
:
873184
| 873186