diff options
| author | Gabor Kovesdan <gabor@FreeBSD.org> | 2012-10-13 18:35:19 +0000 |
|---|---|---|
| committer | Gabor Kovesdan <gabor@FreeBSD.org> | 2012-10-13 18:35:19 +0000 |
| commit | 423a07c748117d53375a71e04c8841d085119e85 (patch) | |
| tree | 18713e888a3959dd7a883d0da741016834f1b140 | |
| parent | - Convert to OptionsNG (diff) | |
- Fix mistakenly expanded variable substitution
Noticed by: zeising
Feature safe: yes
Notes
Notes:
svn path=/head/; revision=305846
| -rw-r--r-- | security/amavisd-new/files/amavisd.in | 2 |
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 |
