Link: Subject: fix exit code when check service status Bug: 132312 Tags: common --- a/etc/rdma-ndd.init.in 2021-06-24 10:47:28.969616905 +0300 +++ b/etc/rdma-ndd.init.in 2021-06-24 10:48:45.240418229 +0300 @@ -102,8 +102,10 @@ ret=$? if [ $ret -eq 0 ] ; then echo "RDMA Node Description Daemon (rdma-ndd) is running... pid=$pid" + exit 0 else echo "RDMA Node Description Daemon (rdma-ndd) is not running." + exit 3 fi }