]> git.ipfire.org Git - people/ms/network.git/blobdiff - src/functions/functions.vpn-security-policies
Rename make_parent_dir to make_parent_directory
[people/ms/network.git] / src / functions / functions.vpn-security-policies
index 435d1bcd2acd22172ba28ef26c887f1a6195da6f..d3717a9e09c05073a9edf5284b9e024da2200559 100644 (file)
@@ -1039,7 +1039,7 @@ vpn_security_policies_make_ike_proposal() {
        local proposal=$(_vpn_security_policies_make_ike_proposal "${name}")
 
        # Write proposal to cache
-       if ! make_parent_dir "${cache_path}" || ! fwrite "${cache_path}" "${proposal}"; then
+       if ! make_parent_directory "${cache_path}" || ! fwrite "${cache_path}" "${proposal}"; then
                log WARNING "Could not write to cache: ${cache_path}"
        fi
 
@@ -1115,7 +1115,7 @@ vpn_security_policies_make_esp_proposal() {
        local proposal=$(_vpn_security_policies_make_esp_proposal "${name}")
 
        # Write proposal to cache
-       if ! make_parent_dir "${cache_path}" || ! fwrite "${cache_path}" "${proposal}"; then
+       if ! make_parent_directory "${cache_path}" || ! fwrite "${cache_path}" "${proposal}"; then
                log WARNING "Could not write to cache: ${cache_path}"
        fi