Simplify some checks
authorajacoutot <ajacoutot@openbsd.org>
Tue, 19 Aug 2014 16:47:18 +0000 (16:47 +0000)
committerajacoutot <ajacoutot@openbsd.org>
Tue, 19 Aug 2014 16:47:18 +0000 (16:47 +0000)
commit249c81b0f37a1442acb67f785bff3e852b470e9c
tree9221109136443faf6d868fca732f85a09a3921ba
parenta349d0bbb29f1656d98fd78284467a2cb4141d02
Simplify some checks
Return immediatly from add_flags() if we are already enabled and no flags
are (re)set; unbreak "enable" under some circumstances.
usr.sbin/rcctl/rcctl.sh