diff options
author | Ermal <eri@pfsense.org> | 2012-03-12 16:26:36 +0000 |
---|---|---|
committer | Ermal <eri@pfsense.org> | 2012-03-12 16:26:36 +0000 |
commit | 7377fb4bdc88eb4ce2715b1dc98d382517cc4db2 (patch) | |
tree | 0bae0b08c275ee7d11837ca581c9f50a7f17bc19 | |
parent | ad218b1d99a78b814834fa56aac97e85a1f16ea4 (diff) | |
download | pfsense-7377fb4bdc88eb4ce2715b1dc98d382517cc4db2.zip pfsense-7377fb4bdc88eb4ce2715b1dc98d382517cc4db2.tar.gz |
An empty file is created so that the table is availblke for rules refrencing it so mark it as successful.
-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 b2f4d1b..17428fc 100644 --- a/etc/inc/pfsense-utils.inc +++ b/etc/inc/pfsense-utils.inc @@ -1839,12 +1839,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; |