Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Improve loading of configuration file
If the configuration file was placed in the same directory as the script, the script would fail if launched from any other directory because the configuration file name was defined without a path. This patch improves the script so that it will load the configuration file from either the same directory as the script, or from /etc. I also moved the initialization of $pid and $cid to the top of the script because the fact that they were uninitialized was preventing the script from reporting the configuration file error properly.
- Loading branch information