summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/clamsmtpd.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/clamsmtpd.c b/src/clamsmtpd.c
index fdf6aa8..ed85ad1 100644
--- a/src/clamsmtpd.c
+++ b/src/clamsmtpd.c
@@ -681,7 +681,7 @@ static int virus_action(clctx_t* ctx, const char* virus)
close(i);
/* Set the environment variables */
- sp_setup_env(sp, 0);
+ sp_setup_forked(sp, 0);
/* When quarantining we can hand the file name off */
if(g_clstate.quarantine)