Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
core: prevents a director crash when calling "configure add schedule"
The code to parse a schedule run directive calls the scan_err function in case of a parse error. However, it did assume, that scan_err terminates the director. While this is true when parsing at the start of the director, it isn't true, when called by the "configure add" command. This patch improves the error handling, by exiting the parse function when an error is detected.
- Loading branch information
1 parent
ac09b09
commit a62206e
Showing
2 changed files
with
44 additions
and
20 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters