diff options
author | jim-p <jimp@pfsense.org> | 2015-12-17 08:09:56 -0500 |
---|---|---|
committer | jim-p <jimp@pfsense.org> | 2015-12-17 08:09:56 -0500 |
commit | 2cbebcfe988509eed9382228335ceb07c4e1ce37 (patch) | |
tree | 99f3a9a41c66ff54e1deda768b53f05f1aeb6e84 /config | |
parent | 5ae60e62d4f4249e39f0f78a31f094043fbe118a (diff) | |
parent | 391b0167a2fd2a89ef7c1985ff677f87e1391f61 (diff) | |
download | pfsense-packages-2cbebcfe988509eed9382228335ceb07c4e1ce37.tar.gz pfsense-packages-2cbebcfe988509eed9382228335ceb07c4e1ce37.tar.bz2 pfsense-packages-2cbebcfe988509eed9382228335ceb07c4e1ce37.zip |
Merge pull request #1213 from doktornotor/patch-1
Diffstat (limited to 'config')
-rw-r--r-- | config/sarg/sarg.inc | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/config/sarg/sarg.inc b/config/sarg/sarg.inc index 22e70c95..253dab9d 100644 --- a/config/sarg/sarg.inc +++ b/config/sarg/sarg.inc @@ -94,7 +94,9 @@ function sarg_check_dirs() { if (is_dir($pbidir) && !is_link($pbidir)) { rmdir_recursive($pbidir); } - symlink("/usr/local/sarg-reports", "{$pbidir}"); + if (!is_link($pbidir)) { + symlink("/usr/local/sarg-reports", "{$pbidir}"); + } } // images |