summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/src/malware.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/src/malware.c b/src/src/malware.c
index 8260a4815..cae0cdd99 100644
--- a/src/src/malware.c
+++ b/src/src/malware.c
@@ -946,7 +946,7 @@ malware_internal(uschar **listptr, uschar *eml_filename, BOOL faking)
signal(SIGCHLD,eximsigchld); signal(SIGPIPE,eximsigpipe);
if (sep != 0)
return m_errlog_defer(scanent,
- sep = -1
+ sep == -1
? string_sprintf("running scanner failed: %s", strerror(sep))
: string_sprintf("scanner returned error code: %d", sep));