csf -r return code 0 if CSF is disable

Post Reply
Nerigal
Junior Member
Posts: 33
Joined: 17 Jun 2009, 16:15

csf -r return code 0 if CSF is disable

Post by Nerigal »

csf -r return code is 0 if CSF is disable

This cause issue with config management and scripting
trying to remote reload csf after config change but if CSF is disable the csf -r still return 0

Thank you.
marcele
Junior Member
Posts: 215
Joined: 17 Sep 2007, 17:02

Re: csf -r return code 0 if CSF is disable

Post by marcele »

Additionally I think that some of the basic functions like --version or --help should still work even with CSF disabled.
Currently:

Code: Select all

# csf --version
csf and lfd have been disabled, use 'csf -e' to enable

# csf --help
csf and lfd have been disabled, use 'csf -e' to enable
Post Reply