Skip to content

Commit 96d4d1c

Browse files
committed
Deprecated -d action parsing returns additional messages when it shouldnt
1 parent a8c1704 commit 96d4d1c

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

src/auditctl.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -875,6 +875,7 @@ static int opt_delete(opt_handler_params_t *args)
875875
retval = OPT_ERROR_NO_REPLY;
876876
} else if (rc == 1) {
877877
audit_msg(LOG_INFO, "Delete rule - possible is deprecated");
878+
args->finish = 1;
878879
return OPT_DEPRECATED; /* deprecated - eat it */
879880
} else
880881
retval = OPT_SUCCESS_RULE; /* success - please send */

0 commit comments

Comments
 (0)