forked from ossec/ossec-hids
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix ossec-execd command line arguments
Move away from the shared help(). Not all binaries are created equal and take the same arguments. The shared help caused confusion which was brought up in ossec#207. The '-c' option should now work so a user can specify an alternate configuration location. Also, the '-D' and '-u' options were removed. This is important to note because previously they would have just been silently ignored. With this commit, specifying these options will present the help() output and exit non-zero. Of course this has the potential to break a setup out there but I would imagine the likelyhood is low that people are specifying these options.
- Loading branch information
1 parent
3ebc56c
commit 6819f8e
Showing
2 changed files
with
24 additions
and
13 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -62,6 +62,8 @@ void WinTimeoutRun(int timeout); | |
|
||
void FreeTimeoutEntry(void *timeout_entry); | ||
|
||
void help_local(); | ||
|
||
|
||
|
||
|
||
|