From 8245a1792c13bea85069aaf6dfac31304d7c3d35f3a08cacc20e64162c8c6ceb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Michael=20Schr=C3=B6der?= Date: Wed, 7 Apr 2010 16:07:43 +0000 Subject: [PATCH] - make 'rpmconfigcheck status' exit with 4 [bnc#592269] OBS-URL: https://build.opensuse.org/package/show/Base:System/rpm?expand=0&rev=47 --- rpm.changes | 1 + rpmconfigcheck | 6 +++++- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/rpm.changes b/rpm.changes index 6dd97c3..b4e072f 100644 --- a/rpm.changes +++ b/rpm.changes @@ -3,6 +3,7 @@ Wed Apr 7 16:59:58 CEST 2010 - mls@suse.de - work around spurious tar message [bnc#558475] - fix defattr reset bug [bnc#594310] +- make 'rpmconfigcheck status' exit with 4 [bnc#592269] - don't consider prereq deprecated for now ------------------------------------------------------------------- diff --git a/rpmconfigcheck b/rpmconfigcheck index a4eeb48..7699148 100644 --- a/rpmconfigcheck +++ b/rpmconfigcheck @@ -66,7 +66,11 @@ case "$1" in rm -f $configcheckfile.old $configcheckfile.dup $configcheckfile.new fi ;; - stop|status) + stop) + ;; + status) + rc_failed 4 + rc_status -v ;; *) echo "Usage: $0 {start}"