aboutsummaryrefslogtreecommitdiff
path: root/security/amavisd-new
diff options
context:
space:
mode:
authorGabor Kovesdan <gabor@FreeBSD.org>2012-10-13 18:35:19 +0000
committerGabor Kovesdan <gabor@FreeBSD.org>2012-10-13 18:35:19 +0000
commit423a07c748117d53375a71e04c8841d085119e85 (patch)
tree18713e888a3959dd7a883d0da741016834f1b140 /security/amavisd-new
parentfaf4ca696850e5654a576e611e3c1bac2712855b (diff)
downloadports-423a07c748117d53375a71e04c8841d085119e85.tar.gz
ports-423a07c748117d53375a71e04c8841d085119e85.zip
- Fix mistakenly expanded variable substitution
Noticed by: zeising Feature safe: yes
Notes
Notes: svn path=/head/; revision=305846
Diffstat (limited to 'security/amavisd-new')
-rw-r--r--security/amavisd-new/files/amavisd.in2
1 files changed, 1 insertions, 1 deletions
diff --git a/security/amavisd-new/files/amavisd.in b/security/amavisd-new/files/amavisd.in
index 67a97f76ef57..560cbfbd063c 100644
--- a/security/amavisd-new/files/amavisd.in
+++ b/security/amavisd-new/files/amavisd.in
@@ -36,7 +36,7 @@ if [ ${amavisd_ram} ];then
echo "WARNING: using ramdisk is reported to be unstable and"
echo "thus it is highly recommended to be turned off."
echo "========================================================"
- df /var/amavis/tmp | grep -E '^(/dev/md|tmpfs)' > /dev/null
+ df %%AMAVISDIR%%/tmp | grep -E '^(/dev/md|tmpfs)' > /dev/null
if [ $? -eq 1 ]; then
mdmfs -s ${amavisd_ram} -p 750 -w %%AMAVISUSER%%:%%AMAVISGROUP%% md %%AMAVISDIR%%/tmp || true
fi