Page 1 of 1

csf -r return code 0 if CSF is disable

Posted: 09 Mar 2018, 14:58
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.

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

Posted: 18 Mar 2018, 08:24
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