1
0
forked from rpms/rpcbind

- Reworked logic in initscript so the correct exit is used when networking

does not exist or is set up incorrectly.
This commit is contained in:
Steve Dickson 2007-10-17 18:41:39 +00:00
parent b4db9b3abe
commit 33dfe4f6c2
2 changed files with 7 additions and 2 deletions

View File

@ -39,7 +39,7 @@ start() {
exit 6
fi
# Check that networking is up.
[ "$NETWORKING" = "no" ] && exit 6
[ "$NETWORKING" = "yes" ] || exit 6
[ -f /sbin/$prog ] || exit 5
echo -n $"Starting $prog: "

View File

@ -2,7 +2,7 @@
Name: rpcbind
Version: 0.1.4
Release: 10%{?dist}
Release: 11%{?dist}
Summary: Universal Addresses to RPC Program Number Mapper
Group: System Environment/Daemons
License: GPL
@ -127,6 +127,11 @@ fi
%dir %attr(700,rpc,rpc) /var/lib/rpcbind
%changelog
* Wed Oct 17 2007 Steve Dickson <steved@redhat.com> 0.1.4-11
- Reworked logic in initscript so the correct exit is
used when networking does not exist or is set up
incorrectly.
* Tue Oct 16 2007 Steve Dickson <steved@redhat.com> 0.1.4-10
- Corrected a typo in the initscript from previous
commit.