aboutsummaryrefslogtreecommitdiff
path: root/security/clamav/files/clamav-clamd.sh
diff options
context:
space:
mode:
Diffstat (limited to 'security/clamav/files/clamav-clamd.sh')
-rw-r--r--security/clamav/files/clamav-clamd.sh6
1 files changed, 3 insertions, 3 deletions
diff --git a/security/clamav/files/clamav-clamd.sh b/security/clamav/files/clamav-clamd.sh
index add634772cea..154ecc436b1c 100644
--- a/security/clamav/files/clamav-clamd.sh
+++ b/security/clamav/files/clamav-clamd.sh
@@ -30,9 +30,9 @@ start_precmd=start_precmd
start_precmd()
{
- if [ -S "$clamd_socket" ]; then
- warn "Stale socket $clamd_socket removed."
- rm "$clamd_socket"
+ if [ -S "$clamav_clamd_socket" ]; then
+ warn "Stale socket $clamav_clamd_socket removed."
+ rm "$clamav_clamd_socket"
fi
}