projects
/
lsb.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
09845d6
)
In killproc(), make sure to exit 0 when the program is not running and when no signal...
author
Didier Raboud
<odyx@debian.org>
Thu, 12 Apr 2012 12:13:35 +0000
(14:13 +0200)
committer
Didier Raboud
<odyx@debian.org>
Wed, 18 Apr 2012 07:58:39 +0000
(09:58 +0200)
Closes: #668416
Reported-by: Peter Eisentraut <petere@debian.org>
Signed-off-by: Didier Raboud <odyx@debian.org>
init-functions
patch
|
blob
|
history
diff --git
a/init-functions
b/init-functions
index 13cf6d6a324340bbbde70719bb00d8c39a71462a..8265984033e73bf2306e0de5cb0ffa57cf568643 100644
(file)
--- a/
init-functions
+++ b/
init-functions
@@
-160,7
+160,7
@@
killproc () {
--oknodo $name_param || status="$?"
fi
if [ "$status" = 1 ]; then
- if [ -
n
"$sig" ]; then
+ if [ -
z
"$sig" ]; then
return 0
fi
return 3 # program is not running