From 3eb02fdc8119ab0e425f9cfb74341a20903a75498f1e4b14cfafcb58240b6b15 Mon Sep 17 00:00:00 2001 From: OBS User unknown Date: Thu, 19 Apr 2007 20:43:28 +0000 Subject: [PATCH] OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/sysvinit?expand=0&rev=3 --- killproc-2.12.dif | 17 +++++++++++++---- sysvinit.changes | 6 ++++++ sysvinit.spec | 7 +++++-- 3 files changed, 24 insertions(+), 6 deletions(-) diff --git a/killproc-2.12.dif b/killproc-2.12.dif index 37f60ac..71b437f 100644 --- a/killproc-2.12.dif +++ b/killproc-2.12.dif @@ -1,4 +1,13 @@ ---- .touch -+++ .touch -@@ -0,0 +1 @@ -+This patch is empty +--- checkproc.c ++++ checkproc.c 2007-03-09 14:05:44.000000000 +0100 +@@ -162,8 +162,8 @@ int main(int argc, char **argv) + if (remember_pids(pid_file,fullname,root,flags) < 0) + exit(LSB_PROOFX); + +- if (!remember && (flags & KILL)) +- exit(LSB_NOPROC); /* New LSB: no pid file is no job */ ++ if (!remember) ++ exit(LSB_STATUS_NOPROC); /* New LSB: no pid file is no job */ + } + /* No pid file means that we have to search in /proc/ */ + free(pid_file); diff --git a/sysvinit.changes b/sysvinit.changes index 32595f4..7c0c36a 100644 --- a/sysvinit.changes +++ b/sysvinit.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Thu Apr 19 13:45:46 CEST 2007 - werner@suse.de + +- Correct exit status of checkproc n case of using a pid file, + thanks to Alessandro Soraruf + ------------------------------------------------------------------- Wed Feb 14 15:53:00 CET 2007 - werner@suse.de diff --git a/sysvinit.spec b/sysvinit.spec index b8c6c5d..8b5380f 100644 --- a/sysvinit.spec +++ b/sysvinit.spec @@ -22,7 +22,7 @@ Group: System/Base PreReq: coreutils Autoreqprov: on Version: 2.86 -Release: 55 +Release: 61 Summary: SysV-Style init BuildRoot: %{_tmppath}/%{name}-%{version}-build Source: sysvinit-2.86.tar.bz2 @@ -279,7 +279,10 @@ rm -rf ${RPM_BUILD_ROOT} %doc %{_mandir}/man8/telinit.8.gz %doc %{_mandir}/man8/startpar.8.gz -%changelog -n sysvinit +%changelog +* Thu Apr 19 2007 - werner@suse.de +- Correct exit status of checkproc n case of using a pid file, + thanks to Alessandro Soraruf * Wed Feb 14 2007 - werner@suse.de - Remove swap supend patch because this is done now by powersave calling hal (bug #241204)