From 42f996baf283492dd9747564cd16dc19db9528b8 Mon Sep 17 00:00:00 2001 From: Ivana Varekova Date: Mon, 28 May 2007 09:34:22 +0000 Subject: [PATCH] - fix the return value of "service psacct status" command --- psacct.init | 1 + psacct.spec | 5 ++++- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/psacct.init b/psacct.init index e261f51..e1140d0 100755 --- a/psacct.init +++ b/psacct.init @@ -36,6 +36,7 @@ case "$1" in echo $"Process accounting is enabled." else echo $"Process accounting is disabled." + exit 3 fi ;; restart|reload) diff --git a/psacct.spec b/psacct.spec index 9aa76ba..cd6394b 100644 --- a/psacct.spec +++ b/psacct.spec @@ -12,7 +12,7 @@ Summary: Utilities for monitoring process activities Name: psacct Version: 6.3.2 -Release: 44%{?dist} +Release: 45%{?dist} License: GPL Group: Applications/System Source: ftp://ftp.gnu.org/pub/gnu/acct-6.3.2.tar.gz @@ -169,6 +169,9 @@ fi %{_infodir}/accounting.info.gz %changelog +* Mon May 28 2007 Ivana Varekova - 6.3.2-45 +- fix the return value of "service psacct status" command + * Thu Apr 5 2007 Ivana Varekova - 6.3.2-44 - small spec changes - change buildroot