Commit b01e51bd authored by Ad Schellevis's avatar Ad Schellevis

(firewall, alias) make sure aliastables directory is there before writing geoip data

parent 9773d941
......@@ -41,6 +41,10 @@ if (count($todo) > 0) {
} else {
log_error("{$argv[0]}: GeoIP database doesn't need updating");
}
// create alias target directly if it doesn't exists (mfs)
if (!file_exists("/var/db/aliastables/")) {
mkdir("/var/db/aliastables");
}
}
log_error("{$argv[0]}: Starting URL table alias updates");
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment