Commit 3806bec3 authored by Alan's avatar Alan
Browse files

ASP: set safe defaults for disable_and_create_empty_persistence_conf_file

Will-fix: #15802
parent fc2fd631
......@@ -260,6 +260,11 @@ disable_and_create_empty_persistence_conf_file ()
local conf="$1"
local mode="$2"
if [ -z "$mode" ]
mv "$conf" "${conf}.insecure_disabled" \
|| error "Failed to disable '$conf': $?"
create_empty_persistence_conf_file "$conf" "$mode"
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