diff --git a/src/source-erf-file.c b/src/source-erf-file.c index 48a7af074e..c17d108116 100644 --- a/src/source-erf-file.c +++ b/src/source-erf-file.c @@ -116,7 +116,7 @@ TmEcode ReceiveErfFileLoop(ThreadVars *tv, void *data, void *slot) etv->slot = ((TmSlot *)slot)->slot_next; while (1) { - if (suricata_ctl_flags & (SURICATA_STOP || SURICATA_KILL)) { + if (suricata_ctl_flags & (SURICATA_STOP | SURICATA_KILL)) { SCReturnInt(TM_ECODE_OK); }