Bug 26718 - exit status of killproc
exit status of killproc
Status: CLOSED RAWHIDE
Product: Red Hat Linux
Classification: Retired
Component: initscripts (Show other bugs)
7.1
i386 Linux
high Severity medium
: ---
: ---
Assigned To: Bill Nottingham
David Lawrence
:
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2001-02-08 15:31 EST by Gerald Teschl
Modified: 2014-03-16 22:18 EDT (History)
1 user (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2001-02-12 17:35:22 EST
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:


Attachments (Terms of Use)

  None (edit)
Description Gerald Teschl 2001-02-08 15:31:07 EST
Shouln't killproc exit with 1 if the process is not running at all so that
a user
knows that something is wrong? In particular since you signal "failure" in
this
case.

--- functions.orig      Thu Feb  8 21:26:06 2001
+++ functions   Thu Feb  8 21:26:11 2001
@@ -190,6 +190,7 @@
                fi
        else
            failure $"$base shutdown"
+           RC=1
        fi
 
         # Remove pid file if any.
Comment 1 Bill Nottingham 2001-02-12 17:35:19 EST
Will be fixed in 5.64-1 or so - thanks!

Note You need to log in before you can comment on or make changes to this bug.