Join GitHub today
GitHub is home to over 36 million developers working together to host and review code, manage projects, and build software together.Sign up
[dev.icinga.com #3418] cmd.cgi does not honor commandpipe location; overwrites from empty environment variable #1161
This issue has been migrated from Redmine: https://dev.icinga.com/issues/3418
Created by mfriedrich on 2012-11-02 21:51:15 +00:00
this is due to the change introduced with #3106 where cmd.cgi tries to read the environment variable, but if it fails, it does not take the config file, but rather the compiled into DEFAULT_COMMAND_FILE.
solution - fix the get_cmd_file_location() to return the proper location read from configs (if that's empty, go for the DEFAULT_COMMAND_FILE)
2012-11-02 22:21:55 +00:00 by mfriedrich 70253ef