diff options
author | Ermal <eri@pfsense.org> | 2012-03-12 16:26:01 +0000 |
---|---|---|
committer | Ermal <eri@pfsense.org> | 2012-03-12 16:26:01 +0000 |
commit | 966f359e02f97371006416b79548e311ca6556ca (patch) | |
tree | 3741c045937aedae20504e3ee8dbf763c146706f /etc/inc/pfsense-utils.inc | |
parent | 4aa0979fbc3a860c8182a14da6a1d218f55cf336 (diff) | |
download | pfsense-966f359e02f97371006416b79548e311ca6556ca.zip pfsense-966f359e02f97371006416b79548e311ca6556ca.tar.gz |
An empty file is created so that the table is availblke for rules refrencing it so mark it as successful.
Diffstat (limited to 'etc/inc/pfsense-utils.inc')
-rw-r--r-- | etc/inc/pfsense-utils.inc | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/etc/inc/pfsense-utils.inc b/etc/inc/pfsense-utils.inc index b25b3fd..7d5b458 100644 --- a/etc/inc/pfsense-utils.inc +++ b/etc/inc/pfsense-utils.inc @@ -1852,12 +1852,7 @@ function process_alias_urltable($name, $url, $freq, $forceupdate=false) { } else mwexec("/usr/bin/touch {$urltable_filename}"); conf_mount_ro(); - if (filesize($urltable_filename)) { - return true; - } else { - // If it's unfetchable or an empty file, bail - return false; - } + return true; } else { // File exists, and it doesn't need updated. return -1; |