diff --git a/o2cb.ocf b/o2cb.ocf index 248ce25..02c6b30 100644 --- a/o2cb.ocf +++ b/o2cb.ocf @@ -169,7 +169,7 @@ kill_daemon() { status_daemon; rc=$? if [ $rc != $OCF_SUCCESS ]; then - return rc + return $rc fi ocf_log info "Stopping `basename "$DAEMON"`" diff --git a/ocfs2-tools.changes b/ocfs2-tools.changes index 51be039..f4ce527 100644 --- a/ocfs2-tools.changes +++ b/ocfs2-tools.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Thu Feb 19 14:47:43 CET 2009 - coyli@suse.de + +- update o2cb.ocf to fix return value format (bnc#474353) + ------------------------------------------------------------------- Mon Feb 16 17:19:52 CET 2009 - coyli@suse.de diff --git a/ocfs2-tools.spec b/ocfs2-tools.spec index 5d6c1ad..a613e23 100644 --- a/ocfs2-tools.spec +++ b/ocfs2-tools.spec @@ -22,7 +22,7 @@ Name: ocfs2-tools BuildRequires: e2fsprogs-devel glib2-devel libdlm-devel libopenais-devel libpacemaker-devel libxml2-devel libxslt-devel python-devel python-gtk-devel readline-devel update-desktop-files Summary: Oracle Cluster File System 2 Core Tools Version: 1.4.1 -Release: 16 +Release: 18 License: GPL v2 or later Group: System/Filesystems Source: ocfs2-tools.tar.bz2 @@ -208,6 +208,8 @@ fi %{_libdir}/pkgconfig/ocfs2.pc %changelog +* Thu Feb 19 2009 coyli@suse.de +- update o2cb.ocf to fix return value format (bnc#474353) * Mon Feb 16 2009 coyli@suse.de - ocfs2console: Whoops, don't reset all warnings, just pop the DISPLAY one. Thanks to Hu Ziming from IBM and Joel Becker from Oracle.