Description of problem: "service ypserv status" always return zero, no matter if the ypserv started or not.It is because the return value of "status" function haven't been assigned to $RETVAL so it doesn't go to the exit code. Version-Release number of selected component (if applicable): ypserv-2.19-3 (in RHEL5) and any lower version in RHEL4 and RHEL3 How reproducible: Always Steps to Reproduce: 1.service ypserv status 2.echo $? Actual results: ypserv is stopped 0 Expected results: ypserv is stopped 3
Created attachment 159133 [details] ypserv status patch
Fixed in ypserv-2.19-6.fc7
ypserv-2.19-6.fc7 has been pushed to the Fedora 7 testing repository. If problems still persist, please make note of it in this bug report.
ypserv-2.19-6.fc7 has been pushed to the Fedora 7 stable repository. If problems still persist, please make note of it in this bug report.