This repository has been archived by the owner on Jan 15, 2019. It is now read-only.
[dev.icinga.com #3418] cmd.cgi does not honor commandpipe location; overwrites from empty environment variable #1161
Labels
Milestone
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
Assignee: mfriedrich
Status: Resolved (closed on 2012-11-09 14:40:52 +00:00)
Target Version: 1.8.2
Last Update: 2014-12-08 09:27:49 +00:00 (in Redmine)
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)
Attachments
Changesets
2012-11-02 22:21:55 +00:00 by mfriedrich 70253ef
The text was updated successfully, but these errors were encountered: